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 713aeed commit f4ce0f7Copy full SHA for f4ce0f7
iterableapi-ui/src/main/java/com/iterable/iterableapi/ui/inbox/IterableInboxFragment.java
@@ -181,8 +181,10 @@ public void onPause() {
181
@Override
182
public void onDestroy() {
183
super.onDestroy();
184
- stopSession();
185
IterableActivityMonitor.getInstance().removeCallback(appStateCallback);
+ if (this.getActivity() != null && !this.getActivity().isChangingConfigurations()) {
186
+ stopSession();
187
+ }
188
}
189
190
private final IterableActivityMonitor.AppStateCallback appStateCallback = new IterableActivityMonitor.AppStateCallback() {
0 commit comments