Commit 4f683025 authored by Marko Mäkelä's avatar Marko Mäkelä

Merge 10.5 into 10.6

parents 4ca5a0ec 92ff7bb6
......@@ -1603,9 +1603,10 @@ template<bool have_reference> inline void fil_space_t::flush()
}
else if (have_reference)
flush_low();
else if (!(acquire_low() & STOPPING))
else
{
flush_low();
if (!(acquire_low() & (STOPPING | CLOSING)))
flush_low();
release();
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment