hello_loopring
hello_loopring copied to clipboard
Bugfix for OSError: [Errno 24] Too many open files
When opening RestClient multiple times you get error: "OSError: [Errno 24] Too many open files", which is caused because Pool's are not closing automatically. This commit fixes that with calling close() on multiprocessing.Pool when closing RestClient.
See attached image for a bug which is solved with this fix.