Closedown

This commit is contained in:
gac-S_Changer
2017-06-27 15:47:43 +02:00
parent 61a8db4676
commit 1eabc60b84

View File

@@ -28,11 +28,9 @@ public class ProsilicaShutdown implements Plugin {
public void onStateChange(State state, State former) {
System.out.print(former + " -> ");
System.out.println(state);
//ch.psi.pshell.prosilica.Prosilica.shutdown();
}
@Override
public void onExecutedFile(String fileName, Object result) {
if ((state==State.Initializing) && (former!=null) && (former.isInitialized())){
ch.psi.pshell.prosilica.Prosilica.shutdown();
getLogger().warning("Shutting down Prosilica");
}
}
}