Revert PR #509, #510 (#513)
[platform/core/dotnet/launcher.git] / NativeLauncher / launcher / lib / core_runtime.cc
index 03d8d8f..ba874aa 100644 (file)
@@ -97,8 +97,8 @@ static void setEnvFromFile()
 
 #define _unused(x) ((void)(x))
 
-static struct sigaction sig_abrt_new;
-static struct sigaction sig_abrt_old;
+struct sigaction sig_abrt_new;
+struct sigaction sig_abrt_old;
 
 static bool checkOnSigabrt = false;
 static bool checkOnTerminate = false;
@@ -318,9 +318,9 @@ int CoreRuntime::initialize(const char* appType, LaunchMode launchMode)
                return -1;
        }
 
-       // checkProfilerInjection checks dotnet-launcher run mode
+       // checkInjection checks dotnet-launcher run mode
        // At the moment, this mechanism is used only when the Memory Profiler is started.
-       int res = checkProfilerInjection();
+       int res = checkInjection();
        if (res != 0) {
                _ERR("Failed to initnialize Memory Profiler");
                return -1;