Commit 1b587cd1 authored by afreyssin's avatar afreyssin
Browse files

Bug fix (JORAM-229): avoid ClassCastException during close if daemon is already stopped.

parent c3399f29
......@@ -444,7 +444,8 @@ public class AcquisitionModule implements ReliableTransmitter {
* Closes the handler.
public void close() {
if (isDaemon && running) {
if (isDaemon) {
if (running)
((AcquisitionDaemon) acquisitionHandler).stop();
running = false;
} else {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment