diff options
author | Dan Gudmundsson <[email protected]> | 2014-01-17 16:57:29 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2014-01-22 16:33:01 +0100 |
commit | fb767602c08159daa2190129622ebf185606fd35 (patch) | |
tree | ad89eb12ac2f554a2151f3605c9122882b7eb386 /lib/wx/c_src/wxe_impl.h | |
parent | 6459bb3e5c82cdd5474bdd77d8aff3a12ce88910 (diff) | |
download | otp-fb767602c08159daa2190129622ebf185606fd35.tar.gz otp-fb767602c08159daa2190129622ebf185606fd35.tar.bz2 otp-fb767602c08159daa2190129622ebf185606fd35.zip |
wx: Delay memory cleanup until safe
Previously we could do a cleanup while we where recursed down
and thus delete the objects we where invoking.
Diffstat (limited to 'lib/wx/c_src/wxe_impl.h')
-rw-r--r-- | lib/wx/c_src/wxe_impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/wx/c_src/wxe_impl.h b/lib/wx/c_src/wxe_impl.h index 10ef0862ab..6beb0eb9b9 100644 --- a/lib/wx/c_src/wxe_impl.h +++ b/lib/wx/c_src/wxe_impl.h @@ -79,6 +79,9 @@ public: ptrMap ptr2ref; wxeMemEnv * global_me; + int recurse_level; + wxList * delayed_cleanup; + // Temp container for callbacks char *cb_buff; int cb_len; |