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
Showing
想要评论请 注册 或 登录
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