We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 440d1b9 commit acbafa8Copy full SHA for acbafa8
src/Concurrency/WorkService.cpp
@@ -274,7 +274,9 @@ namespace Concurrency {
274
void WorkService::notifyGroupDestroyed(WorkContractGroup* group) {
275
// When a group is destroyed, we should remove it from our list
276
// This is important to prevent accessing a destroyed group
277
- removeWorkContractGroup(group);
+ auto status = removeWorkContractGroup(group);
278
+ ENTROPY_ASSERT(status != GroupOperationStatus::NotFound,
279
+ "Group destruction notification for unknown group");
280
}
281
282
0 commit comments