mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:43:04 +01:00
fixed bug done by me when backporting fix from HEAD
This commit is contained in:
parent
cee5a221eb
commit
beabbfb42c
@ -36,7 +36,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/* $Id: isc_ipc.cpp,v 1.17.4.1 2007-04-17 09:03:49 alexpeshkoff Exp $ */
|
||||
/* $Id: isc_ipc.cpp,v 1.17.4.2 2007-06-28 12:24:45 alexpeshkoff Exp $ */
|
||||
|
||||
#include "firebird.h"
|
||||
#include <stdio.h>
|
||||
@ -189,6 +189,11 @@ SignalInhibit::SignalInhibit() throw()
|
||||
|
||||
void SignalInhibit::enable() throw()
|
||||
{
|
||||
if (enabled)
|
||||
return;
|
||||
|
||||
enabled = true;
|
||||
|
||||
Firebird::MutexLockGuard lock(inhibitMutex);
|
||||
|
||||
fb_assert(inhibit_counter > 0);
|
||||
|
Loading…
Reference in New Issue
Block a user