Ticket Hash: | b4a7ddc83f06899da050e711504232b27285a88e | ||
Title: | Exception when reloading IIS application | ||
Status: | Closed | Type: | Code_Defect |
Severity: | Minor | Priority: | Immediate |
Subsystem: | Integration_Via_PInvoke | Resolution: | Fixed |
Last Modified: |
2011-07-21 21:48:11 13.75 years ago |
Created: |
2011-07-20 10:39:36 13.76 years ago |
Version Found In: | a9e8f14e764eb1f2 |
Description: | ||||
When an IIS application is restarted (e.g. a configuration file has changed) the .net part of the SQLite dll is unloaded but the native part remains. When the application then reloads the SQLite dll an exception is thrown whilst creating the SQLiteFactory. I believe I have traced the problem to "SetLogCallback" which then fails on the following native line:
if( sqlite3GlobalConfig.isInit ) return SQLITE_MISUSE_BKPT;
Maybe this could be fixed by shutting down SQLite in the static constructor of SQLiteLog?
mistachkin added on 2011-07-21 21:48:11 UTC: |