Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
naomod
faezeh-public
XTDL
Commits
f1be603b
Commit
f1be603b
authored
May 05, 2022
by
Faezeh KHORRAM
💬
Browse files
stop model execution thread
parent
15ad6f40
Changes
2
Hide whitespace changes
Inline
Side-by-side
org.eclipse.gemoc.executionframework.event.manager/src/org/eclipse/gemoc/executionframework/event/manager/GenericEventManager.java
View file @
f1be603b
...
...
@@ -117,7 +117,7 @@ public class GenericEventManager implements IEventManager {
engine
.
setEngineStatus
(
RunStatus
.
WaitingForEvent
);
callRequest
=
callRequestQueue
.
take
();
}
catch
(
InterruptedException
e
)
{
e
.
printStackTrace
();
//
e.printStackTrace();
}
engine
.
setEngineStatus
(
RunStatus
.
Running
);
waitForCallRequests
=
false
;
...
...
org.imt.tdl.configuration/src/org/imt/tdl/eventBasedEngine/K3EventManagerLauncher.java
View file @
f1be603b
...
...
@@ -589,8 +589,9 @@ public class K3EventManagerLauncher implements IEventBasedExecutionEngine{
this
.
MUTResource
.
unload
();
this
.
executionEngine
.
dispose
();
this
.
executionEngineJob
.
cancel
();
this
.
executionEngineJob
.
getThread
().
interrupt
();
}
catch
(
NullPointerException
e
)
{
// TODO: handle exception
}
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment