Merge pull request #94 from ente-io/ignore_sigpipe

This commit is contained in:
Vishnu Mohandas 2021-10-06 19:55:11 +05:30 committed by GitHub
commit 1cb1ef713a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}