aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/private.py
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-09-08 19:32:33 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-09-08 19:39:31 -0300
commit63cacc4411cd52e359e1867532524ee816248b61 (patch)
tree99d52fcf0992c694299d9b9e9347c06b5e34c041 /PySide/private.py
parent6daa2edea54d10e761d0432137373f226f2613ca (diff)
Created module shutdown function necessary to avoid call python functions before module exit.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
Diffstat (limited to 'PySide/private.py')
-rw-r--r--PySide/private.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/PySide/private.py b/PySide/private.py
new file mode 100644
index 000000000..0fe1c1326
--- /dev/null
+++ b/PySide/private.py
@@ -0,0 +1,4 @@
+import atexit
+from QtCore import __moduleShutdown
+
+atexit.register(__moduleShutdown)