csharp: Move locks inside AddRemove native handlers
authorLauro Moura <lauromoura@expertisesolutions.com.br>
Thu, 3 Oct 2019 23:52:25 +0000 (20:52 -0300)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 6 Oct 2019 21:22:24 +0000 (06:22 +0900)
commit578b481a4f35a7d64c9293e369a805ad53aa5d37
tree100862c0a10aec30aab79ccccec31feae2d2d51b
parent5355b01c9beedc1329cbdcd8651a78410e64fa37
csharp: Move locks inside AddRemove native handlers

Summary:
Instead of using a lock block in every method definition, we just need
them inside the actual methods adding/removing the handlers.

Kudos to @herb for the suggestion.

Reviewers: felipealmeida, herb, brunobelo

Reviewed By: brunobelo

Subscribers: cedric, #reviewers, herb, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9758
src/bin/eolian_mono/eolian/mono/events.hh
src/bindings/mono/eo_mono/EoWrapper.cs