Use setEnvrionmentVariable() to set SpecialFolder (#475) accepted/tizen/unified/20230725.013007
author조웅석/MDE Lab(SR)/삼성전자 <ws77.cho@samsung.com>
Mon, 24 Jul 2023 04:34:59 +0000 (13:34 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 24 Jul 2023 04:34:59 +0000 (13:34 +0900)
commit24a5c661928d1a64aceb3c58096279f08a099917
tree3dd897eb08125ce3b77c33f51eb553771d637206
parent9ab4547491e1bc0ba0564581a9390ed63b09348e
Use setEnvrionmentVariable() to set SpecialFolder (#475)

Storage API which is used to get SpecialFolder(Music, Picture, Video) makes threads internally,
and it makes crash when we call setenv() function in the launcher because setenv() is not thread-safe function.

So, use setEnvironmentVariable() function which set envrionment variable in the .NET runtime.
NativeLauncher/launcher/lib/core_runtime.cc