Weer een debug/optimalisatie ronde gehad....
This commit is contained in:
@@ -5,7 +5,6 @@ import mimis.event.EventRouter;
|
||||
import mimis.event.Feedback;
|
||||
import mimis.event.feedback.TextFeedback;
|
||||
import mimis.exception.worker.ActivateException;
|
||||
import mimis.exception.worker.DeactivateException;
|
||||
import mimis.sequence.SequenceParser;
|
||||
import mimis.util.ArrayCycle;
|
||||
import mimis.value.Action;
|
||||
@@ -72,10 +71,10 @@ public class Mimis extends EventHandler {
|
||||
eventRouter.set(applicationCycle.current());
|
||||
add(new TextFeedback("Current application: " + applicationCycle.current().title()));
|
||||
}
|
||||
super.activate(false);
|
||||
super.activate();
|
||||
}
|
||||
|
||||
public void stop() throws DeactivateException {
|
||||
public void stop() {
|
||||
super.stop();
|
||||
log.debug("Stop GUI");
|
||||
gui.stop();
|
||||
@@ -99,11 +98,7 @@ public class Mimis extends EventHandler {
|
||||
add(new TextFeedback("Previous application: " + applicationCycle.current().title()));
|
||||
break;
|
||||
case EXIT:
|
||||
try {
|
||||
stop();
|
||||
} catch (DeactivateException e) {
|
||||
log.error(e);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user