- final long timeoutTaskPeriod = 60 * 60 * 1000;// 1h
- timeoutTask = cmsView.schedule(() -> {
- disposeIfTimedout();
- }, timeoutTaskPeriod, timeoutTaskPeriod);
+ // TODO introduce mechanism to check whether the UI is "zombie"
+ // (that is the UI thread still exists, but cannot execute anything)
+// final long timeoutTaskPeriod = 60 * 60 * 1000;// 1h
+// timeoutTask = cmsView.schedule(() -> {
+// disposeIfTimedout();
+// }, timeoutTaskPeriod, timeoutTaskPeriod);
+// addDisposeListener((e) -> {
+// clearTimeoutTask();
+// });