Permalink
Browse files

Fix simple process being assigned an ion process thread (omission)

  • Loading branch information...
Dave Foster
Dave Foster committed Jan 8, 2013
1 parent 72c20e7 commit 87dbbb191b19932a3ff314d26686f0e361b7c062
Showing with 6 additions and 0 deletions.
  1. +6 −0 pyon/container/procs.py
View
@@ -615,6 +615,12 @@ def cleanup(*args):
cleanup_method=cleanup)
self.proc_sup.ensure_ready(proc, "_spawn_simple_process for %s" % process_instance.id)
+ # map gproc to process_instance
+ self._spawned_proc_to_process[proc.proc] = process_instance
+
+ # set service's reference to process
+ process_instance._process = proc
+
self._process_init(process_instance)
self._process_start(process_instance)

0 comments on commit 87dbbb1

Please sign in to comment.