iOS: fix when debugging cause crash
This commit is contained in:
parent
c367b93121
commit
fda2a9a02c
@ -335,6 +335,9 @@ - (void)callbackTimer:(NSTimer *)timer {
|
||||
}
|
||||
|
||||
- (id)jsValueToObject:(JSValue *)jsValue {
|
||||
if([jsValue isKindOfClass:NSDictionary.class]){
|
||||
return jsValue;
|
||||
}
|
||||
return [jsValue toObjectWithArrayBuffer];
|
||||
}
|
||||
@end
|
||||
|
Reference in New Issue
Block a user