]> src.bluestatic.org Git - macgdbp.git/commit
We no longer use DebuggerConnection to manage the DebuggerWindowController, but now...
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 5 Jan 2008 21:54:55 +0000 (13:54 -0800)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 5 Jan 2008 21:54:55 +0000 (13:54 -0800)
commit24a5001ae6019036592006618924d207b42a5570
tree5bd977109742c916594fd1b1fae109bf06ed90b6
parentb9a51cf16168ab46778fc2e68489b34a74b2ca0c
We no longer use DebuggerConnection to manage the DebuggerWindowController, but now it's vice versa

Benefits:
- There was a problem that when we quit we would crash, because on window closing, the WindowController would tell the connection to shutdown, but because AppDelegate cleaned up before the WindowController, it would crash when sending the message.
- An array of connections no longer needs to be managed because the WindowController stores all the pointers, so when it closes things are deallocated properly
Source/AppDelegate.h
Source/AppDelegate.m
Source/ConnectWindowController.m
Source/DebuggerConnection.h
Source/DebuggerConnection.m
Source/DebuggerWindowController.h
Source/DebuggerWindowController.m