fixed to match new dbEvent interface

This commit is contained in:
Jeff Hill
2001-10-12 22:47:06 +00:00
parent 928f3234f2
commit f31cbb8a8c

View File

@@ -50,13 +50,13 @@ dbSubscriptionIO::dbSubscriptionIO ( dbServiceIO &serviceIO, dbChannelIO &chanIO
}
db_post_single_event ( this->es );
db_event_enable ( this->es );
}
dbSubscriptionIO::~dbSubscriptionIO ()
{
if ( this->es ) {
db_cancel_event ( this->es );
}
this->unsubscribe ();
}
void dbSubscriptionIO::destroy ()
@@ -64,7 +64,6 @@ void dbSubscriptionIO::destroy ()
delete this;
}
// lock should be applied
void dbSubscriptionIO::unsubscribe ()
{
if ( this->es ) {