Match-id-99793b5d61b440d8875b6b40e7386c0dcbe343d2
This commit is contained in:
parent
9ca104278e
commit
84a05cf1fa
|
@ -20,7 +20,7 @@ const getAndClearValue = () => {
|
||||||
|
|
||||||
const reset = () => {
|
const reset = () => {
|
||||||
if (isWorking) {
|
if (isWorking) {
|
||||||
throw new Error('Cannot reset while already flushing work.');
|
throw new Error('Cannot reset. There is a working task.');
|
||||||
}
|
}
|
||||||
dataArray = null;
|
dataArray = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue