diff options
author | Vitor Sousa <vitorsousasilva@gmail.com> | 2015-01-26 15:49:16 -0200 |
---|---|---|
committer | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2015-04-14 01:06:57 -0300 |
commit | 5043dcb830e96aa11b04e3bebc935c1c4cc606f2 (patch) | |
tree | 169b8e4dbf17c1d249d50bdbf222cd322fe2c7a9 /src/Makefile_Eolian_Cxx.am | |
parent | 3b441cdf4a83383f4cd55ca8569e8eb98d45868e (diff) |
eo_cxx: Fix signal_connection disconnect crash
Fixed crash when disconnecting event inside of its own event callback.
Instead of deleting the callback object immediately during disconnection
(which causes the callback to be freed), the deletion is now scheduled
for later (using ecore_main_loop_thread_safe_call_async).
Updated some Makefiles to proper include ecore now that it is used in
all event wrappers.
Added a unit test to verify crashes under these circumstances.
Diffstat (limited to '')
-rw-r--r-- | src/Makefile_Eolian_Cxx.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile_Eolian_Cxx.am b/src/Makefile_Eolian_Cxx.am index 6dff2671df..d086bff103 100644 --- a/src/Makefile_Eolian_Cxx.am +++ b/src/Makefile_Eolian_Cxx.am | |||
@@ -118,7 +118,7 @@ tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS = \ | |||
118 | tests_eolian_cxx_eolian_cxx_suite_CFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS} | 118 | tests_eolian_cxx_eolian_cxx_suite_CFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS} |
119 | tests_eolian_cxx_eolian_cxx_suite_CPPFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS} | 119 | tests_eolian_cxx_eolian_cxx_suite_CPPFLAGS = ${tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS} |
120 | tests_eolian_cxx_eolian_cxx_suite_LDADD = \ | 120 | tests_eolian_cxx_eolian_cxx_suite_LDADD = \ |
121 | @CHECK_LIBS@ @USE_EO_LIBS@ @USE_EINA_LIBS@ @USE_EOLIAN_LIBS@ | 121 | @CHECK_LIBS@ @USE_EO_LIBS@ @USE_EINA_LIBS@ @USE_ECORE_LIBS@ @USE_EOLIAN_LIBS@ |
122 | tests_eolian_cxx_eolian_cxx_suite_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@ | 122 | tests_eolian_cxx_eolian_cxx_suite_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@ |
123 | 123 | ||
124 | endif | 124 | endif |