diff --git a/doric-iOS/Devkit/Classes/DoricDebugDriver.h b/doric-iOS/Devkit/Classes/DoricDebugDriver.h index 21e64d38..bca04b65 100644 --- a/doric-iOS/Devkit/Classes/DoricDebugDriver.h +++ b/doric-iOS/Devkit/Classes/DoricDebugDriver.h @@ -32,7 +32,6 @@ typedef NS_ENUM(NSInteger, DoricQueueMode) { NS_ASSUME_NONNULL_BEGIN @interface DoricDebugDriver : NSObject -+ (instancetype)instance; @end NS_ASSUME_NONNULL_END diff --git a/doric-iOS/Devkit/Classes/DoricDebugDriver.m b/doric-iOS/Devkit/Classes/DoricDebugDriver.m index 87506ae6..f7841b82 100644 --- a/doric-iOS/Devkit/Classes/DoricDebugDriver.m +++ b/doric-iOS/Devkit/Classes/DoricDebugDriver.m @@ -44,15 +44,6 @@ - (DoricRegistry *)registry { return self.jsExecutor.registry; } -+ (instancetype)instance { - static DoricDebugDriver *_instance; - static dispatch_once_t onceToken; - dispatch_once(&onceToken, ^{ - _instance = [[DoricDebugDriver alloc] init]; - }); - return _instance; -} - - (DoricAsyncResult *)invokeDoricMethod:(NSString *)method, ... { va_list args; va_start(args, method);