csharp: Load library in permanent way for static members and not rely on leaks
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>
Tue, 1 Oct 2019 03:06:13 +0000 (00:06 -0300)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 1 Oct 2019 21:16:02 +0000 (06:16 +0900)
commita032f4a7ee30c0ce350f2863876fbcd691a3a373
tree644365773f3cc72cc930c2126274856a2ffa2ee6
parent330597f704538522fa13f1b3ef4465713c8d41b9
csharp: Load library in permanent way for static members and not rely on leaks

Summary:
The LoadFunctionPointer relied on leaks of NativeModules by not
disposing them. Instead do direct loading without instantiating
unnecessary objects.

Reviewers: lauromoura, woohyun, brunobelo

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10258
src/bindings/mono/eo_mono/FunctionWrapper.cs