Skip to content

Commit

Permalink
QgsRunProcess says: if I'm going to die, better kill me a bit later. …
Browse files Browse the repository at this point in the history
…That will be without segfaults.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10556 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 13, 2009
1 parent 6aff4e9 commit 4f5b314
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/qgsrunprocess.cpp
Expand Up @@ -85,7 +85,8 @@ QgsRunProcess::~QgsRunProcess()

void QgsRunProcess::die()
{
delete this;
// safe way to do "delete this" for QObjects
deleteLater();
}

void QgsRunProcess::stdoutAvailable()
Expand Down

0 comments on commit 4f5b314

Please sign in to comment.