Move -[DebuggerConnection send:] to the private interface because it isn't threadsafe.
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 18 Dec 2010 18:04:38 +0000 (13:04 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 18 Dec 2010 18:04:38 +0000 (13:04 -0500)
Source/DebuggerConnection.h
Source/DebuggerConnection.m

index 01c2bb1a03621fe3d399ec0b000a873532133055..b05c36666872770e9236ccb43a9eb527bac679c5 100644 (file)
@@ -88,8 +88,6 @@
 - (void)connect;
 - (void)close;
 
-- (void)send:(NSString*)command;
-
 // This sends the given command format to the debugger. This method is thread
 // safe and schedules the request on the |runLoop_|.
 - (NSNumber*)sendCommandWithFormat:(NSString*)format, ...;
index acf24259b76f4d70eb00f6f9b1e8c903426959da..a34cbb28743a2d24f1d85ed9a7edf1d4a5751d6d 100644 (file)
@@ -40,6 +40,8 @@
 - (void)socketDisconnected;
 - (void)readStreamHasData;
 
+// These methods MUST be called on the network thread as they are not threadsafe.
+- (void)send:(NSString*)command;
 - (void)performSend:(NSString*)command;
 - (void)sendQueuedWrites;