// TODO: send Package to signal "close"
if (m_session.is_closed())
{
- delete this;
+ if (m_no_requests == 0)
+ delete this;
return;
}
m_no_requests++;
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
- * c-file-style: "stroustrup"
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/
+