diff --git a/pyon/container/procs.py b/pyon/container/procs.py index ba071187..db06ba0b 100644 --- a/pyon/container/procs.py +++ b/pyon/container/procs.py @@ -604,7 +604,6 @@ def _spawn_simple_process(self, process_id, name, module, cls, config): # cleanup method to delete process queue (@TODO: leaks a bit here - should use XOs) def cleanup(*args): - self._cleanup_method(process_instance.id, rsvc) for name in pub_names: p = getattr(process_instance, name) p.close() diff --git a/pyon/ion/process.py b/pyon/ion/process.py index e7cb277f..bc7899f1 100644 --- a/pyon/ion/process.py +++ b/pyon/ion/process.py @@ -412,7 +412,7 @@ def _notify_stop(self): try: self._cleanup_method(self) except Exception as ex: - log.warn("Cleanup method error, attempting to ignore: %s", ex) + log.warn("Cleanup method error, attempting to ignore: %s\nTraceback: %s", ex, traceback.format_exc()) def get_ready_event(self): """