Refact:delete and optimize code
This commit is contained in:
@@ -63,6 +63,7 @@ - (void)stopDebug:(BOOL)resume {
|
||||
|
||||
|
||||
@interface DoricDev ()
|
||||
@property(nonatomic, strong, nullable) DoricWSClient *wsClient;
|
||||
@property(nonatomic, strong) DoricContextDebuggable *debuggable;
|
||||
@end
|
||||
|
||||
@@ -177,4 +178,8 @@ - (void)stopDebugging:(BOOL)resume {
|
||||
[self.debuggable stopDebug:resume];
|
||||
self.debuggable = nil;
|
||||
}
|
||||
|
||||
- (void)sendDevCommand:(NSString *)command payload:(NSDictionary *)payload {
|
||||
[self.wsClient sendToServer:command payload:payload];
|
||||
}
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user