- Fix Linux build (huge thanks to Aokromes for testing as always)
- Some work towards resolving the crash on shutdown by implementing a shutdown task --HG-- branch : trunk
This commit is contained in:
@@ -38,16 +38,15 @@ int DatabaseWorker::svc()
|
||||
while (1)
|
||||
{
|
||||
request = (SQLOperation*)(m_queue->dequeue());
|
||||
if (!request)
|
||||
request->SetConnection(m_conn);
|
||||
if (request->call() == -1)
|
||||
break;
|
||||
|
||||
request->SetConnection(m_conn);
|
||||
request->call();
|
||||
delete request;
|
||||
}
|
||||
|
||||
delete request;
|
||||
delete m_conn;
|
||||
delete this;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user