Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Set release_gil = True when generating bindings
  • Loading branch information
manisandro authored and nyalldawson committed Nov 3, 2021
1 parent 1b3002e commit c47fc8a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/3d/project.py.in
Expand Up @@ -37,6 +37,7 @@ class Qgis3D(PyQtBindings):
super().__init__(project, '3d')
self.sip_file = '3d.sip'
self.exceptions = True
self.release_gil = True
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")

def apply_user_defaults(self, tool):
Expand Down
1 change: 1 addition & 0 deletions python/analysis/project.py.in
Expand Up @@ -37,6 +37,7 @@ class QgisAnalysis(PyQtBindings):
super().__init__(project, 'analysis')
self.sip_file = 'analysis.sip'
self.exceptions = True
self.release_gil = True
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")

def apply_user_defaults(self, tool):
Expand Down
1 change: 1 addition & 0 deletions python/core/project.py.in
Expand Up @@ -37,6 +37,7 @@ class QgisCore(PyQtBindings):
super().__init__(project, 'core')
self.sip_file = 'core.sip'
self.exceptions = True
self.release_gil = True
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")

def apply_user_defaults(self, tool):
Expand Down
1 change: 1 addition & 0 deletions python/gui/project.py.in
Expand Up @@ -37,6 +37,7 @@ class QgisGui(PyQtBindings):
super().__init__(project, 'gui')
self.sip_file = 'gui.sip'
self.exceptions = True
self.release_gil = True
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")

def apply_user_defaults(self, tool):
Expand Down
1 change: 1 addition & 0 deletions python/server/project.py.in
Expand Up @@ -37,6 +37,7 @@ class QgisServer(PyQtBindings):
super().__init__(project, 'server')
self.sip_file = 'server.sip'
self.exceptions = True
self.release_gil = True
self.disabled_features = "@SIP_DISABLE_FEATURES@".split(";")

def apply_user_defaults(self, tool):
Expand Down

0 comments on commit c47fc8a

Please sign in to comment.