Merge pull request #94 from ente-io/ignore_sigpipe
This commit is contained in:
commit
1cb1ef713a
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…
Add table
Reference in a new issue