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 cb90a41 commit 095e934Copy full SHA for 095e934
src/jackpal/androidterm/TermService.java
@@ -84,6 +84,10 @@ public void onCreate() {
84
public void onDestroy() {
85
compat.stopForeground(true);
86
for (TermSession session : mTermSessions) {
87
+ /* Don't automatically remove from list of sessions -- we clear the
88
+ * list below anyway and we could trigger
89
+ * ConcurrentModificationException if we do */
90
+ session.setFinishCallback(null);
91
session.finish();
92
}
93
mTermSessions.clear();
0 commit comments