Page MenuHomePhabricator

csharp: FunctionPtr wrappers are not IDisposable
ClosedPublic

Authored by lauromoura on Nov 14 2019, 10:31 AM.

Details

Summary

They don't actually store unmanaged memory and we already rely on the GC
to free them (not calling Dispose() directly through the managedCb
closure, so we don't need IDisposable.

Just making sure we release the Function Pointer data in the main loop
as the GC runs in a different thread.

Ref T8423

Depends on D10672

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
lauromoura created this revision.Nov 14 2019, 10:31 AM
lauromoura requested review of this revision.Nov 14 2019, 10:31 AM
brunobelo accepted this revision.Nov 14 2019, 12:33 PM
This revision is now accepted and ready to land.Nov 14 2019, 12:33 PM
This revision was automatically updated to reflect the committed changes.