Fixing a bug.
pending was null as soon as task started running, so it was possible that another thread submits the task and have that executed while the first one was still running
Loading
Please register or sign in to comment
pending was null as soon as task started running, so it was possible that another thread submits the task and have that executed while the first one was still running