Skip to content

Commit f56df7e

Browse files
- Wire up UIApplication.willTerminateNotification (#392)
1 parent 7498b61 commit f56df7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Segment/Plugins/Platforms/iOS/iOSLifecycleMonitor.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ class iOSLifecycleMonitor: PlatformPlugin {
7777
self.significantTimeChange(notification: notification)
7878
case UIApplication.backgroundRefreshStatusDidChangeNotification:
7979
self.backgroundRefreshDidChange(notification: notification)
80+
case UIApplication.willTerminateNotification:
81+
self.willTerminate(notification: notification)
8082
default:
8183

8284
break

0 commit comments

Comments
 (0)