8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 06:03:02 +01:00

removed unneeded {} block - destructors order not important for ContextPoolHolder

This commit is contained in:
alexpeshkoff 2004-12-20 17:36:35 +00:00
parent 0e7cf35ed7
commit e22c4277d2

View File

@ -668,12 +668,10 @@ private:
THREAD_ENTRY_DECLARE threadStart(THREAD_ENTRY_PARAM arg) {
fb_assert(arg);
Firebird::ContextPoolHolder mainThreadContext(getDefaultMemoryPool());
{
ThreadArgs localArgs(*reinterpret_cast<ThreadArgs*>(arg));
delete reinterpret_cast<ThreadArgs*>(arg);
localArgs.run();
return 0;
}
}
#endif //THREAD_PSCHED