Fixed issue with pause button.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30935 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2010-07-07 18:39:56 +00:00
parent a35a744f7a
commit c816587571
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2010-07-07 14:49-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Modules/Debuggers/ProjectCenter/PCDebuggerView.m:
Fixed issue where if there is no pid it would attempt to stop
the current process.
2010-06-24 Riccardo Mottola
* Headers/Protocols/CodeEditorView.h

View file

@ -198,9 +198,12 @@
- (void) interrupt
{
int pid = [self subProcessId];
if(pid != 0)
{
#ifndef __MINGW32__
kill(pid,SIGINT);
kill(pid,SIGINT);
#endif
}
}
- (void) terminate