Temporary fix for #1063.
This commit is contained in:
parent
197af707b1
commit
ded95dd1e4
1 changed files with 4 additions and 4 deletions
|
@ -100,7 +100,7 @@ void render(const mapnik::Map& map,
|
|||
unsigned offset_x = 0u,
|
||||
unsigned offset_y = 0u)
|
||||
{
|
||||
Py_BEGIN_ALLOW_THREADS
|
||||
// Py_BEGIN_ALLOW_THREADS
|
||||
try
|
||||
{
|
||||
mapnik::agg_renderer<mapnik::image_32> ren(map,image,scale_factor,offset_x, offset_y);
|
||||
|
@ -108,11 +108,11 @@ void render(const mapnik::Map& map,
|
|||
}
|
||||
catch (...)
|
||||
{
|
||||
Py_BLOCK_THREADS
|
||||
// Py_BLOCK_THREADS
|
||||
throw;
|
||||
}
|
||||
Py_END_ALLOW_THREADS
|
||||
}
|
||||
// Py_END_ALLOW_THREADS
|
||||
}
|
||||
|
||||
void render_with_detector(
|
||||
const mapnik::Map &map,
|
||||
|
|
Loading…
Add table
Reference in a new issue