iOS: ignore SIGPIPE & 🙏 it works
This commit is contained in:
parent
8499f95921
commit
938dbde595
1 changed files with 8 additions and 0 deletions
|
@ -13,4 +13,12 @@ import Flutter
|
|||
GeneratedPluginRegistrant.register(with: self)
|
||||
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
||||
}
|
||||
|
||||
override func applicationDidBecomeActive(_ application: UIApplication) {
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
}
|
||||
|
||||
override func applicationWillEnterForeground(_ application: UIApplication) {
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue