stopBolusDelivering not in UI thread

This commit is contained in:
Milos Kozak 2019-12-17 16:27:36 +01:00
parent 1e74f80a25
commit 77904cd1fd

View file

@ -279,7 +279,7 @@ public class CommandQueue {
} }
removeAll(Command.CommandType.BOLUS); removeAll(Command.CommandType.BOLUS);
removeAll(Command.CommandType.SMB_BOLUS); removeAll(Command.CommandType.SMB_BOLUS);
ConfigBuilderPlugin.getPlugin().getActivePump().stopBolusDelivering(); new Thread(() -> ConfigBuilderPlugin.getPlugin().getActivePump().stopBolusDelivering()).run();
} }
// returns true if command is queued // returns true if command is queued