Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadCommandSystem
Commits
3fb0e8c1
Commit
3fb0e8c1
authored
Apr 17, 2020
by
ics
Browse files
managing kill ploty2 for remote
parent
a14a6687
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/ill/ics/nscclient/ploty/PlotyInstance.java
View file @
3fb0e8c1
...
...
@@ -133,6 +133,9 @@ public class PlotyInstance {
}
}
else
{
break
;
}
}
}
});
...
...
src/main/java/fr/ill/ics/nscclient/sessionmanagement/ServerSessionManager.java
View file @
3fb0e8c1
...
...
@@ -150,7 +150,9 @@ public class ServerSessionManager {
LogSubscriber
.
getInstance
(
serverId
).
unsubscribe
();
SurveySubscriberImpl
.
getInstance
(
serverId
).
unsubscribe
();
DataChangeSubscriber
.
getInstance
(
serverId
).
unsubscribe
();
PlotyInstance
.
getInstance
().
unsubscribe
();
if
(
serverId
.
equals
(
"real"
))
{
PlotyInstance
.
getInstance
().
unsubscribe
();
}
DataAccessor
.
getInstance
(
serverId
).
reset
();
ServantManagerAccessor
.
getInstance
(
serverId
).
reset
();
...
...
@@ -184,6 +186,14 @@ public class ServerSessionManager {
}
catch
(
Exception
e
)
{
System
.
out
.
println
(
"Cannot unsubscribe data change"
);
}
if
(
serverId
.
equals
(
"real"
))
{
try
{
PlotyInstance
.
getInstance
().
unsubscribe
();
}
catch
(
Exception
e
)
{
System
.
out
.
println
(
"Cannot unsubscribe data change"
);
}
}
}
public
ServantManagerAccessor
getServantManagerAccessor
()
{
...
...
Write
Preview
Markdown
is supported
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