Fixed worker thread logic and optimized code.
1 file changed