Revert D2926896 WebWorkers: Move web worker impl to JSCExecutor

Reviewed By: lexs

Differential Revision: D2982150

fb-gh-sync-id: c75d05988df50b9788608e7c1bf00c4952ccfce1
shipit-source-id: c75d05988df50b9788608e7c1bf00c4952ccfce1
This commit is contained in:
Andy Street
2016-02-26 05:55:56 -08:00
committed by Facebook Github Bot 0
parent 50141f9d3f
commit c32e5fd84f
9 changed files with 312 additions and 229 deletions

View File

@@ -30,7 +30,7 @@ public class SimpleSettableFuture<T> implements Future<T> {
* Sets the result. If another thread has called {@link #get}, they will immediately receive the
* value. set or setException must only be called once.
*/
public void set(@Nullable T result) {
public void set(T result) {
checkNotSet();
mResult = result;
mReadyLatch.countDown();