Skip to content

Commit

Permalink
Fixed occasional segfaults when labeling plugin is running - due doub…
Browse files Browse the repository at this point in the history
…le init/finish geos calls in PAL

git-svn-id: http://svn.osgeo.org/qgis/branches/symbology-ng-branch@12117 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Nov 15, 2009
1 parent 4cf3ae1 commit 1ac22c1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core/pal/pal.cpp
Expand Up @@ -82,7 +82,8 @@ namespace pal

Pal::Pal()
{
initGEOS( geosNotice, geosError );
// do not init and exit GEOS - we do it inside QGIS
//initGEOS( geosNotice, geosError );

layers = new std::list<Layer*>();

Expand Down Expand Up @@ -159,7 +160,8 @@ namespace pal
delete layers;
delete lyrsMutex;

finishGEOS();
// do not init and exit GEOS - we do it inside QGIS
//finishGEOS();
}


Expand Down

0 comments on commit 1ac22c1

Please sign in to comment.