Commit d5b697f2 authored by Matthijs Tijink's avatar Matthijs Tijink

Don't remove packets from the queue without adding a replacing one

parent 66aa6696
......@@ -54,7 +54,6 @@ class DevicePacketQueue {
//Replace contents with new contents
item.packet = packet;
item.callback = callback;
iter.remove();
//There can only be one in the queue, so we're done now
return;
}
......
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