-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUGFIX: single thread approach (#153)
* BUGFIX: single thread approach A really old edit pkv made to switch from multithreading to single threading created a few bugs because each thread originally maintained it's own client list and each "device" assumed it had a unique thread. This should be a quick and dirty fix where each device now maintains its own client list, a bit redundant given the one in the global thread. Hopefully this also resolves #147, I'm assuming the crash was the result of the error handler originally stopping its own thread (the bug being now it stops the only thread). * Define _clients after struct definition * use _clients
- Loading branch information
Showing
1 changed file
with
64 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters