Indexing cancellation: do not reset flag after throw in cancelcheck: other threads need it
This commit is contained in:
@@ -45,7 +45,6 @@ class CancelCheck {
|
|||||||
}
|
}
|
||||||
void checkCancel() {
|
void checkCancel() {
|
||||||
if (cancelRequested) {
|
if (cancelRequested) {
|
||||||
cancelRequested = false;
|
|
||||||
throw CancelExcept();
|
throw CancelExcept();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user