Skip to content

Commit

Permalink
Fix deadlock when running algs in task manager and python exception o…
Browse files Browse the repository at this point in the history
…ccurs
  • Loading branch information
nyalldawson committed Jul 6, 2017
1 parent 1ab9c99 commit da02c9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/core/core.sip
Expand Up @@ -104,5 +104,7 @@ done:
%Include core_auto.sip

%VirtualErrorHandler processing_exception_handler
throw QgsProcessingException( getTraceback() );
QString trace = getTraceback();
SIP_RELEASE_GIL( sipGILState );
throw QgsProcessingException( trace );
%End

0 comments on commit da02c9a

Please sign in to comment.