rburgst / time-tracker-mac

Automatically exported from code.google.com/p/time-tracker-mac
Other
73 stars 28 forks source link

Thread safety for deletions #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There are currently thread safety issues with deleting tasks, particularly
when the timer is running.

Original issue reported on code.google.com by gruen0ae...@gmail.com on 16 Jan 2007 at 5:57

GoogleCodeExporter commented 9 years ago
Bookmarks: 

http://cocoadevcentral.com/articles/000061.php
http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/article
s/CocoaSafety.html
http://lachand.free.fr/cocoa/Threads.html

Original comment by gruen0ae...@gmail.com on 16 Jan 2007 at 6:03

GoogleCodeExporter commented 9 years ago
The first test case:

1. Create a project.
2. Create a task in that project.
3. Start the timer on that task.
4. Delete the project-- Time Tracker will crash.

Original comment by gruen0ae...@gmail.com on 20 Jan 2007 at 10:09

GoogleCodeExporter commented 9 years ago
As of r20, refactored the start/stop timer code.  There should no longer be any 
null
pointer issues when deleting projects/tasks.

This is pending a final review before release.  Once the review is complete, 
v1.1.002
will be released, which will include this fix.

Original comment by gruen0ae...@gmail.com on 21 Jan 2007 at 10:24

GoogleCodeExporter commented 9 years ago
Reviewed as of r23.  Will be released in v1.1.002.

Original comment by gruen0ae...@gmail.com on 22 Jan 2007 at 2:35

GoogleCodeExporter commented 9 years ago

Original comment by gruen0ae...@gmail.com on 24 Jan 2007 at 7:19