diff options
author | fcolin | 2007-02-01 12:55:58 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 12:55:58 +0000 |
commit | 63f8a648057d096a9de6daa4fc48caeb0af08bbf (patch) | |
tree | f9d6dfb3e72528daa9ac94898686ba7ff1e11e77 /Bus/Ivy | |
parent | b18dd91d7868c46f8ee0464838d3b0380fed643c (diff) | |
download | ivy-cplusplus-63f8a648057d096a9de6daa4fc48caeb0af08bbf.zip ivy-cplusplus-63f8a648057d096a9de6daa4fc48caeb0af08bbf.tar.gz ivy-cplusplus-63f8a648057d096a9de6daa4fc48caeb0af08bbf.tar.bz2 ivy-cplusplus-63f8a648057d096a9de6daa4fc48caeb0af08bbf.tar.xz |
Utilisateur : Fcolin Date : 7/06/02 Heure : 9:35 Archivé dans $/Ivy (vss 11)
Diffstat (limited to 'Bus/Ivy')
-rw-r--r-- | Bus/Ivy/Ivy.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Bus/Ivy/Ivy.cxx b/Bus/Ivy/Ivy.cxx index 3906333..c10785f 100644 --- a/Bus/Ivy/Ivy.cxx +++ b/Bus/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;
|