(WebChromium) Fix coverity issue 40/319940/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 20 Feb 2025 03:02:40 +0000 (12:02 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 20 Feb 2025 03:02:40 +0000 (12:02 +0900)
Let we also catch std::system_error

Change-Id: I0e29152a44bec3dcb130df6556de3af5b926e370
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-extension/web-engine-chromium/tizen-web-engine-manager.cpp

index 80414660ac7989082ae6397ba863039a37a0b44f..5dc2811b28957b78800ebee49f4a97e01d1bd81e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2024 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -73,6 +73,10 @@ WebEngineManager::~WebEngineManager()
     {
       DALI_LOG_ERROR("WebEngineManager::~WebEngineManager() - std::bad_weak_ptr caught: %s\n", ex.what());
     }
+    catch(std::system_error const& ex)
+    {
+      DALI_LOG_ERROR("WebEngineManager::~WebEngineManager() - std::system_error caught: %s\n", ex.what());
+    }
     catch(std::invalid_argument const& ex)
     {
       DALI_LOG_RELEASE_INFO("Failed to destroy web engine:%s!\n", ex.what());