We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a22ad2 commit e64ca41Copy full SHA for e64ca41
Xcode/iPhoneXMPP/Classes/iPhoneXMPPAppDelegate.m
@@ -372,6 +372,13 @@ - (void)applicationWillEnterForeground:(UIApplication *)application
372
DDLogVerbose(@"%@: %@", THIS_FILE, THIS_METHOD);
373
}
374
375
+- (void)applicationWillTerminate:(UIApplication *)application
376
+{
377
+ DDLogVerbose(@"%@: %@", THIS_FILE, THIS_METHOD);
378
+
379
+ [self teardownStream];
380
+}
381
382
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
383
#pragma mark XMPPStream Delegate
384
0 commit comments