Quick fix to see if we can overcome crash.

This commit is contained in:
counterpoint
2016-02-24 15:18:44 +00:00
parent 5122777829
commit a61b70a810

View File

@ -371,12 +371,14 @@ dcb_final_free(DCB *dcb)
* won't try to call dcb_close for client DCB * won't try to call dcb_close for client DCB
* after this call. * after this call.
*/ */
/*
if (local_session->client_dcb == dcb) if (local_session->client_dcb == dcb)
{ {
spinlock_acquire(&local_session->ses_lock); spinlock_acquire(&local_session->ses_lock);
local_session->client_dcb = NULL; local_session->client_dcb = NULL;
spinlock_release(&local_session->ses_lock); spinlock_release(&local_session->ses_lock);
} }
*/
if (SESSION_STATE_DUMMY != local_session->state) if (SESSION_STATE_DUMMY != local_session->state)
{ {
session_free(local_session); session_free(local_session);