Skip to content

Commit 47a81f0

Browse files
committedApr 13, 2017
Fix map canvas destruction fix (got broken after rebase)
1 parent 92e3e75 commit 47a81f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gui/qgsmapcanvas.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ QgsMapCanvas::~QgsMapCanvas()
203203
if ( mJob )
204204
{
205205
whileBlocking( mJob )->cancel();
206-
Q_ASSERT( !mJob );
206+
delete mJob;
207207
}
208208

209209
// delete canvas items prior to deleting the canvas

0 commit comments

Comments
 (0)
Please sign in to comment.