From: DongHyun Song Date: Mon, 14 Mar 2022 02:06:39 +0000 (+0000) Subject: Revert "Use thread_local (instead of static) storage duration due to thread safety... X-Git-Tag: submit/tizen/20220325.070959~3^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F68%2F272268%2F1;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git Revert "Use thread_local (instead of static) storage duration due to thread safety issue." This reverts commit 122bae587fb3d4d1879f567baa97b72bdd6a1a5a. Change-Id: Ic2ff664d602044b400c48063285039ded3472af9 --- diff --git a/src/common/filesystem/filesystem_provider_deviced.cc b/src/common/filesystem/filesystem_provider_deviced.cc index 3fd71bc6..60bc1090 100644 --- a/src/common/filesystem/filesystem_provider_deviced.cc +++ b/src/common/filesystem/filesystem_provider_deviced.cc @@ -146,7 +146,7 @@ FilesystemProviderDeviced::FilesystemProviderDeviced() FilesystemProviderDeviced& FilesystemProviderDeviced::Create() { ScopeLogger(); - thread_local FilesystemProviderDeviced instance; + static FilesystemProviderDeviced instance; return instance; }