|Bug#: 8||Product: i.Scribe/InScribe||Version: v1.88 test9||Platform: PC|
|OS/Version: All||Status: RESOLVED||Severity: major||Priority: P2|
|Resolution: FIXED||Assigned To: firstname.lastname@example.org||Reported By: email@example.com|
|Component: User Interface|
|Summary: Scribe occasionally doesn't quit when exited.|
|Opened: 2005-07-27 10:30|
|Description:||Opened: 2005-07-27 10:30|
The UI disappears but the process remains in memory after the user exits.
Made a fix today in the mouse hook thread to make it shutdown cleanly all the time. There was a rare case where the mouse hook destructor locks the objects just as the hook thread thread tries to lock it as well. This causes the thread to never get the lock and never check whether to exit or not, hanging itself. So now the thread tries to lock, but with a short timeout so it falls back into the loop, see that it should exit and then shuts down nicely.