Dbus: added exception handlers in destructors. 35/320635/1 accepted/tizen/unified/20250312.145441 accepted/tizen/unified/x/20250312.134154
authorMichal Szczecinski <m.szczecinsk@partner.samsung.com>
Wed, 5 Mar 2025 07:04:12 +0000 (08:04 +0100)
committerMichal Szczecinski <m.szczecinsk@partner.samsung.com>
Wed, 5 Mar 2025 07:04:12 +0000 (08:04 +0100)
commit701dd98e75ffa2dc96cf2a9ceb6631ac8c8850dc
tree2e9f68d37210be14d399239ec6aaaa81c312376e
parent38641bf56cb1e060be05bcc5e7ac1dfd9656aa8e
Dbus: added exception handlers in destructors.

To avoid std::terminate() in case of exception in destructor, this patch
adds exception handlers. Now instead of terminating application, an
error will be printed.

Change-Id: Ia5db61559b649df8eb1803ef730c518e96e9f283
src/service/DBus.cpp
src/service/DBus.hpp