Description
The IDBroker.stop() method does not clear the cached ids. This means that if Torque is then restarted with a different database, the ids generated will be wrong. One way to solve this is to add these lines to IDBroker.stop():
ids.clear();
quantityStore.clear();
lastQueryTime.clear();
There is probably a better way of doing this.