mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-15 11:41:13 +03:00
Call Tcl_ExitThread() from within threads created using Tcl_CreateThread(). Not doing so causes notifier related errors on OSX.
FossilOrigin-Name: 684eae6623ef1d0336b7a734b17ed307c720b6f4
This commit is contained in:
@@ -150,6 +150,7 @@ static Tcl_ThreadCreateType tclScriptThread(ClientData pSqlThread){
|
||||
Tcl_DecrRefCount(pList);
|
||||
Tcl_DecrRefCount(pRes);
|
||||
Tcl_DeleteInterp(interp);
|
||||
Tcl_ExitThread(0);
|
||||
TCL_THREAD_CREATE_RETURN;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user