Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How to release/unload unmanged native dylib from .net core while closing the app

$
0
0

Hi All,

We would like to know how to release/unload unmanged native dylib from .net core while closing the app in Mac?

Scenario: We are using native mac dynamic library (dylib) from .net core using [DllImport], in which it was able to load the dylib library and working fine, when we closes the application the dylib that has already been loaded was not unloading, when we start the app agian it is getting crashed due to that issue and we need to restart the meachine and run the app once agian.

Please help me resolving this problem.

Regards,

Siva.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>