(cleanup)

This commit is contained in:
muerwre 2019-02-06 18:17:13 +07:00
parent c3ed100105
commit e322eef53a
3 changed files with 5 additions and 9 deletions

View file

@ -321,10 +321,10 @@ function* takeAShotSaga() {
timeout: delay(500),
});
// if (cancel) return;
if (timeout) yield put(setMode(MODES.SHOT_PREFETCH));
const data = yield (result || worker);
yield put(setMode(MODES.NONE));
yield put(setRenderer({
data, renderer_active: true, width: window.innerWidth, height: window.innerHeight