stopBolusDelivering not in UI thread
This commit is contained in:
parent
1e74f80a25
commit
77904cd1fd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue