Browse Source

Prism.closeDown: reset cuddStarted flag

Normally, this should not matter, but in case closeDown is called multiple times
(e.g., due to some nailgun stuff), this should avoid multiple CUDD shutdowns,
which would probably lead to hard crashes.



git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11602 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Joachim Klein 10 years ago
parent
commit
cf16b66849
  1. 2
      prism/src/prism/Prism.java

2
prism/src/prism/Prism.java

@ -3617,6 +3617,8 @@ public class Prism extends PrismComponent implements PrismSettingsListener
// Close down CUDD/JDD // Close down CUDD/JDD
if (cuddStarted) { if (cuddStarted) {
JDD.CloseDownCUDD(check); JDD.CloseDownCUDD(check);
// reset CUDD status
cuddStarted = false;
} }
} }

Loading…
Cancel
Save