pocoproject / poco

The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
https://pocoproject.org
Other
8.05k stars 2.11k forks source link

SQLChannel stops logging on LoggingSubsystem shutdown #4529

Open aleks-f opened 2 months ago

aleks-f commented 2 months ago

Describe the bug

matejk commented 2 months ago

I get this static analysis warning in SQLChannel dtor:

/poco/Data/src/SQLChannel.cpp:112:3: Call to virtual method 'SQLChannel::close' during destruction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall]