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:
parent
0e7cf35ed7
commit
e22c4277d2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user