robmcmullen/peppy — Issue #843: Job control process not killed when closing window
Author: robmcmullen
Created: 2012-02-21 06:15:09+00:00
State: open
Labels: threads

*[Trac time 20100517 231154Z]* Closing the window (or tab) that contains a running job should prompt with a dialog to kill the running process. Currently, the process continues and brings up an error:
```
Traceback (most recent call last):
File "/opt/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14614, in
lambda event: event.callable(*event.args, **event.kw) )
File "/data2/home/rob/src/peppy/peppy/sidebar.py", line 180, in finishedCallback
self.finishCallback(job)
File "z:\src\peppy\peppy\jobcontrol.py", line 266, in deregisterProcess
AttributeError: process
```

Reproduce by opening a second frame, starting the interpreter using Tools -> Run, and then closing the frame that is running the interpreter.