fixed termination of collection...
This commit is contained in:
parent
1c580688ff
commit
0971db10e2
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>ch.psi</groupId>
|
||||
<artifactId>ch.psi.imagej.zeromq</artifactId>
|
||||
<version>0.0.6-SNAPSHOT</version>
|
||||
<version>0.0.7</version>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
@ -131,7 +131,14 @@ public class ZeroMQViewer implements PlugIn {
|
||||
}
|
||||
catch(Exception e){
|
||||
logger.log(Level.SEVERE, "",e);
|
||||
btnStart.setText("Start");
|
||||
}
|
||||
finally{
|
||||
try{
|
||||
socket.close();
|
||||
context.term();
|
||||
}
|
||||
catch(Exception e){
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -312,8 +319,7 @@ public class ZeroMQViewer implements PlugIn {
|
||||
try{
|
||||
socket.notifyAll();
|
||||
}
|
||||
catch(Exception ex){
|
||||
// This exception can savely be ignored (somewhat most of the time an exception is expected)
|
||||
catch(Exception ex){ // This exception can savely be ignored (somewhat most of the time an exception is expected)
|
||||
}
|
||||
btnStart.setText("Start");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user