Missed comment

This commit is contained in:
alesapin 2020-10-08 20:46:59 +03:00
parent 70f2a3328d
commit 16fa71a4c9

View File

@ -31,6 +31,7 @@ void Pool::Entry::decrementRefCount()
if (!data) if (!data)
return; return;
/// We were the last user of this thread, deinitialize it
if (data->ref_count.fetch_sub(1) == 1) if (data->ref_count.fetch_sub(1) == 1)
mysql_thread_end(); mysql_thread_end();
} }