efl/src/bindings/mono/eina_mono
Lauro Moura ef185e5e28 efl-mono: Fix value forwarding in promises/async
Summary:
Values returned from C# Then callbacks must release ownership of the
underlying native value, so Eina code can clean it up nicely and avoid
the Wrapper flushing it early.

The same issue applied to the Async wrappers. In this case the value
passed as the Task parameter could be released by an `using` block
awaiting the value.

Also Future creation was then-ing the wrong handle.

Also add better exception messages.

Reviewers: vitor.sousa, felipealmeida

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9197
2019-06-27 19:31:55 -03:00
..
eina_accessor.cs csharp: Fix free_cb calling under dotnet. 2019-04-15 15:24:29 -03:00
eina_array.cs csharp: Update after iterator changes 2019-06-27 14:07:33 -03:00
eina_binbuf.cs csharp: Fix free_cb calling under dotnet. 2019-04-15 15:24:29 -03:00
eina_common.cs mono: fix space and brace warnings of StyleCop 2019-04-02 16:57:52 +02:00
eina_config.cs mono: fix space and brace warnings of StyleCop 2019-04-02 16:57:52 +02:00
eina_container_common.cs csharp: Refactor wrapper lifetime. 2019-05-31 17:44:12 -03:00
eina_error.cs mono: fix space and brace warnings of StyleCop 2019-04-02 16:57:52 +02:00
eina_hash.cs csharp: Update after iterator changes 2019-06-27 14:07:33 -03:00
eina_inarray.cs csharp: Update after iterator changes 2019-06-27 14:07:33 -03:00
eina_inlist.cs csharp: Update after iterator changes 2019-06-27 14:07:33 -03:00
eina_iterator.cs csharp: Update after iterator changes 2019-06-27 14:07:33 -03:00
eina_list.cs csharp: Update after iterator changes 2019-06-27 14:07:33 -03:00
eina_log.cs mono: fix space and brace warnings of StyleCop 2019-04-02 16:57:52 +02:00
eina_promises.cs efl-mono: Fix value forwarding in promises/async 2019-06-27 19:31:55 -03:00
eina_slice.cs mono: fix space and brace warnings of StyleCop 2019-04-02 16:57:52 +02:00
eina_strbuf.cs csharp: Fix free_cb calling under dotnet. 2019-04-15 15:24:29 -03:00
eina_stringshare.cs mono: fix space and brace warnings of StyleCop 2019-04-02 16:57:52 +02:00
eina_value.cs efl-mono: Fix value forwarding in promises/async 2019-06-27 19:31:55 -03:00
meson.build meson: time for the c-sharp build 2018-10-24 12:05:58 +02:00