mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-20 18:32:17 +00:00
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:
parent
a35a744f7a
commit
c816587571
2 changed files with 10 additions and 1 deletions
|
@ -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
|
2010-06-24 Riccardo Mottola
|
||||||
|
|
||||||
* Headers/Protocols/CodeEditorView.h
|
* Headers/Protocols/CodeEditorView.h
|
||||||
|
|
|
@ -198,9 +198,12 @@
|
||||||
- (void) interrupt
|
- (void) interrupt
|
||||||
{
|
{
|
||||||
int pid = [self subProcessId];
|
int pid = [self subProcessId];
|
||||||
|
if(pid != 0)
|
||||||
|
{
|
||||||
#ifndef __MINGW32__
|
#ifndef __MINGW32__
|
||||||
kill(pid,SIGINT);
|
kill(pid,SIGINT);
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) terminate
|
- (void) terminate
|
||||||
|
|
Loading…
Reference in a new issue