| 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: fret@memecode.com | Reported By: fret@memecode.com | |
| Component: User Interface | |||
| URL: | |||
| 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.
http://www.memecode.com/forums/view.php?id=4873
http://www.memecode.com/xyz/view.php?id=4873
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.