Skip to content
Permalink
Browse files

Removed migrator function

  • Loading branch information...
bear101 committed Mar 30, 2019
1 parent 8f57ddb commit aae96ede1973c55f2c8c0fc7ce1ed25e86b76422
Showing with 1 addition and 7 deletions.
  1. +1 −7 Client/iTeamTalk/iTeamTalk/AppDelegate.swift
@@ -153,13 +153,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
}

func endBackgroundTask() {
UIApplication.shared.endBackgroundTask(convertToUIBackgroundTaskIdentifier(backgroundTask.rawValue))
UIApplication.shared.endBackgroundTask(backgroundTask)
backgroundTask = UIBackgroundTaskIdentifier.invalid
}
}


// Helper function inserted by Swift 4.2 migrator.
fileprivate func convertToUIBackgroundTaskIdentifier(_ input: Int) -> UIBackgroundTaskIdentifier {
return UIBackgroundTaskIdentifier(rawValue: input)
}

0 comments on commit aae96ed

Please sign in to comment.
You can’t perform that action at this time.