Transaction::~Transaction() { try { if (_rSession.isTransaction()) { try { if (_pLogger) _pLogger->debug("Rolling back transaction."); _rSession.rollback(); } catch (...) { if (_pLogger) _pLogger->error("Error while rolling back database transaction."); } } } catch (...) { poco_unexpected(); } }
WebEventNotifierRemoteObject::~WebEventNotifierRemoteObject() { try { } catch (...) { poco_unexpected(); } }
~AutoLoggerShutdown() { try { Logger::shutdown(); } catch (...) { poco_unexpected(); } }
PrivateKeyPassphraseHandler::~PrivateKeyPassphraseHandler() { try { SSLManager::instance().PrivateKeyPassphraseRequired -= Delegate<PrivateKeyPassphraseHandler, std::string>(this, &PrivateKeyPassphraseHandler::onPrivateKeyRequested); } catch (...) { poco_unexpected(); } }
SerialPort::~SerialPort() { try { close(); } catch (...) { poco_unexpected(); } }
OpenSSLInitializer::~OpenSSLInitializer() { try { uninitialize(); } catch (...) { poco_unexpected(); } }
SessionPool::~SessionPool() { try { shutdown(); } catch (...) { poco_unexpected(); } }
SessionImpl::~SessionImpl() { try { close(); } catch (...) { poco_unexpected(); } }
IORemoteObject::~IORemoteObject() { try { _pServiceObject->stateChanged -= Poco::delegate(this, &IORemoteObject::event__stateChanged); } catch (...) { poco_unexpected(); } }
Timer::~Timer() { try { stop(); } catch (...) { poco_unexpected(); } }
ThreadPool::~ThreadPool() { try { stopAll(); } catch (...) { poco_unexpected(); } }
PriorityNotificationQueue::~PriorityNotificationQueue() { try { clear(); } catch (...) { poco_unexpected(); } }
void HTTPFixedLengthOutputStream::operator delete(void* ptr) { try { _pool.release(ptr); } catch (...) { poco_unexpected(); } }
AccelerometerRemoteObject::~AccelerometerRemoteObject() { try { _pServiceObject->accelerationUpdate -= Poco::delegate(this, &AccelerometerRemoteObject::event__accelerationUpdate); } catch (...) { poco_unexpected(); } }
AccelerometerEventDispatcher::~AccelerometerEventDispatcher() { try { _pRemoteObject->accelerationUpdate -= Poco::delegate(this, &AccelerometerEventDispatcher::event__accelerationUpdate); } catch (...) { poco_unexpected(); } }
Decompress::~Decompress() { try { EOk -= Poco::Delegate<Decompress, std::pair<const ZipLocalFileHeader, const Poco::Path> >(this, &Decompress::onOk); } catch (...) { poco_unexpected(); } }
SensorServerHelper::~SensorServerHelper() { try { _pORB->unregisterSkeleton("Sensor", true); } catch (...) { poco_unexpected(); } }
SplitterChannel::~SplitterChannel() { try { close(); } catch (...) { poco_unexpected(); } }
HTTPServerConnection::~HTTPServerConnection() { try { _pFactory->serverStopped -= Poco::delegate(this, &HTTPServerConnection::onServerStopped); } catch (...) { poco_unexpected(); } }
RemoteSyslogChannel::~RemoteSyslogChannel() { try { close(); } catch (...) { poco_unexpected(); } }
WeakPersistentWrapperRegistry::~WeakPersistentWrapperRegistry() { try { cleanup(); } catch (...) { poco_unexpected(); } }
EventLogChannel::~EventLogChannel() { try { close(); } catch (...) { poco_unexpected(); } }
SQLiteStatementImpl::~SQLiteStatementImpl() { try { clear(); } catch (...) { poco_unexpected(); } }
SSLManager::~SSLManager() { try { shutdown(); } catch (...) { poco_unexpected(); } }
SimpleFileChannel::~SimpleFileChannel() { try { close(); } catch (...) { poco_unexpected(); } }
Notifier::~Notifier() { try { disableAll(); } catch (...) { poco_unexpected(); } }
TimedNotificationQueue::~TimedNotificationQueue() { try { clear(); } catch (...) { poco_unexpected(); } }
Preparator::~Preparator() { try { freeMemory(); } catch (...) { poco_unexpected(); } }
Timer::~Timer() { try { _queue.enqueueNotification(new StopNotification(_queue), Poco::Clock(0)); _thread.join(); } catch (...) { poco_unexpected(); } }
LocalPortForwarder::~LocalPortForwarder() { try { _tcpServer.stop(); _pDispatcher->stop(); } catch (...) { poco_unexpected(); } }