summaryrefslogtreecommitdiff
path: root/Ivy/Ivy.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 12:55:58 +0000
committerfcolin2007-02-01 12:55:58 +0000
commit49ebd55611e86e6fc63d8afcc38888c5991799fc (patch)
treee507400c81bbc5b45934eea1f284bfbe056dd00d /Ivy/Ivy.cxx
parent9af56b54bfcef47df42532d79ab7743548e32c0b (diff)
downloadivy-cplusplus-49ebd55611e86e6fc63d8afcc38888c5991799fc.zip
ivy-cplusplus-49ebd55611e86e6fc63d8afcc38888c5991799fc.tar.gz
ivy-cplusplus-49ebd55611e86e6fc63d8afcc38888c5991799fc.tar.bz2
ivy-cplusplus-49ebd55611e86e6fc63d8afcc38888c5991799fc.tar.xz
Utilisateur : Fcolin Date : 7/06/02 Heure : 9:35 Archivé dans $/Ivy (vss 11)
Diffstat (limited to 'Ivy/Ivy.cxx')
-rw-r--r--Ivy/Ivy.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/Ivy/Ivy.cxx b/Ivy/Ivy.cxx
index 3906333..c10785f 100644
--- a/Ivy/Ivy.cxx
+++ b/Ivy/Ivy.cxx
@@ -28,11 +28,15 @@ Ivy::~Ivy()
stop();
regexp_out.clear();
- for ( unsigned int i = 0; i < callbacks.size(); i ++)
- {
+ if ( synchronous )
+ {
+ for ( unsigned int i = 0; i < callbacks.size(); i ++)
+ {
delete callbacks[i];
- }
+ }
+ }
callbacks.clear();
+
// if ( direct_callback ) delete direct_callback;
// if ( application_callback ) delete application_callback;