nw_protocol_boringssl_get_output
2019-07-31 本文已影响0人
默棉花开
控制台打印:
[BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C1.1:2][0x1023291b0] get output frames failed, state 8196
解决方法:
在application中 的
- (void)applicationWillResignActive:(UIApplication *)application{}
添加
__block UIBackgroundTaskIdentifier bgTask = [[UIApplication sharedApplication] beginBackgroundTaskWithName:@"bg_task" expirationHandler:^{
[[UIApplication sharedApplication] endBackgroundTask:bgTask];
bgTask =UIBackgroundTaskInvalid;
}];