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 7350be4 commit e61e147Copy full SHA for e61e147
src/snmalloc/mem/globalalloc.h
@@ -87,9 +87,8 @@ namespace snmalloc
87
}
88
89
90
- if (
91
- result == nullptr && RemoteDeallocCache::remote_inflight.get_curr() != 0)
92
- error("ERROR: RemoteDeallocCache::remote_inflight != 0");
+ if (result == nullptr)
+ SNMALLOC_CHECK(RemoteDeallocCache::remote_inflight.get_curr() == 0);
93
94
if (result != nullptr)
95
{
0 commit comments