Remove dlclose call to unload CoreCLR (dotnet/coreclr#23863)
authorNext Turn <45985406+NextTurn@users.noreply.github.com>
Wed, 10 Apr 2019 04:18:24 +0000 (12:18 +0800)
committerJan Kotas <jkotas@microsoft.com>
Wed, 10 Apr 2019 04:18:24 +0000 (21:18 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/448e39d3a060a41783df583c383f1b4a9fd3a185

src/coreclr/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp

index 1a6bf11..fb155f6 100644 (file)
@@ -466,11 +466,6 @@ int ExecuteManagedAssembly(
                 }
             }
         }
-
-        if (dlclose(coreclrLib) != 0)
-        {
-            fprintf(stderr, "Warning - dlclose failed\n");
-        }
     }
     else
     {