Skip to content

Commit

Permalink
* [ios] fix bug debugTool unload
Browse files Browse the repository at this point in the history
  • Loading branch information
acton393 committed Oct 11, 2016
1 parent a3919ce commit 751b752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/sdk/WeexSDK/Sources/Debug/WXDebugTool.m
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ + (void)getData:(NSURL*)url key:(NSString*)key{
void(^scriptLoadFinish)(NSString*, NSString*) = ^(NSString* key, NSString* script){
if ([key isEqualToString:@"jsframework"]) {
WXDebugrepJSFramework = script;
[[WXSDKManager bridgeMgr] unload];
[WXSDKManager unload];
[WXSDKEngine initSDKEnviroment:script];
}else {
WXDebugrepBundleJS = script;
Expand Down

0 comments on commit 751b752

Please sign in to comment.