Remove infinite loop from adding message queue check

Adding a handle_message_queue here lead to an infinite loop.
This commit is contained in:
Matthew Parkinson
2019-07-09 14:57:23 +01:00
parent 45f47499c5
commit 33ff935aee

View File

@@ -1153,8 +1153,6 @@ namespace snmalloc
SNMALLOC_SLOW_PATH void small_dealloc_offseted_slow(
Superslab* super, void* p, sizeclass_t sizeclass)
{
handle_message_queue();
bool was_full = super->is_full();
SlabList* sl = &small_classes[sizeclass];
Slab* slab = Slab::get(p);