Re: NSUndoManager issues

2009-12-15 Thread Jerry Krinock
On 2009 Dec 15, at 16:15, Graham Cox wrote: > You should probably arrange for the thread to submit its undo tasks to the > undo manager on the main thread, Indeed, NSUndoManager is not thread-safe. I use one of the -performSelectorOnMainThread... methods in this situation. Watch for deadloc

Re: NSUndoManager issues

2009-12-15 Thread Graham Cox
On 15/12/2009, at 1:02 PM, Scott Squires wrote: > I have some image processing routines that are on another thread and undo > objects are created. > > When these are done in a series by the user (several minutes apart) and an > undo is preformed then one by one they are invoked from just one u