csharp: Fix test code memory handling
authorLauro Moura <lauromoura@expertisesolutions.com.br>
Tue, 23 Apr 2019 15:12:31 +0000 (12:12 -0300)
committerYeongjong Lee <yj34.lee@samsung.com>
Wed, 24 Apr 2019 05:24:47 +0000 (14:24 +0900)
commit7c2790053d39af7ff32dd13d416f334a44dae038
tree4acb728a2fcedda6f1f81570c2082525b4db4a50
parentd2623fa4bc3290181455f1999a81fd6dd94f39cb
csharp: Fix test code memory handling

Summary:
It was causing the test to crash when running in debug build.

Also some minor fixes cleaning up stuff when exiting.

Fixes T7792.

Reviewers: segfaultxavi, vitor.sousa

Reviewed By: segfaultxavi, vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7792

Differential Revision: https://phab.enlightenment.org/D8679
src/tests/efl_mono/dummy_test_object.eo
src/tests/efl_mono/libefl_mono_native_test.c