Changeset 356 in code for trunk


Ignore:
Timestamp:
Jul 9, 2020, 9:23:51 AM (5 years ago)
Author:
contact
Message:

Fix deadlock in DB.Close

This method was calling itself, instead of the underlying SQLite
database's Close method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/db.go

    r327 r356  
    128128        db.lock.Lock()
    129129        defer db.lock.Unlock()
    130         return db.Close()
     130        return db.db.Close()
    131131}
    132132
Note: See TracChangeset for help on using the changeset viewer.