Skip to content
Permalink
Browse files
Set release_gil = True when generating bindings
  • Loading branch information
manisandro authored and nyalldawson committed Nov 3, 2021
1 parent 1b3002e commit c47fc8a2aef4a212c92ac6d048581401bd76d432
Showing with 5 additions and 0 deletions.
  1. +1 −0 python/3d/project.py.in
  2. +1 −0 python/analysis/project.py.in
  3. +1 −0 python/core/project.py.in
  4. +1 −0 python/gui/project.py.in
  5. +1 −0 python/server/project.py.in
@@ -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):
@@ -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):
@@ -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):
@@ -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):
@@ -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):

0 comments on commit c47fc8a

Please sign in to comment.