Revert PR #509, #510 (#513)
[platform/core/dotnet/launcher.git] / NativeLauncher / launcher / lib / core_runtime.cc
index 33e3298..ba874aa 100644 (file)
@@ -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;