mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38:16 +00:00
Check if ltihooks is present before trying to delete it
Original commit message from CVS: Check if ltihooks is present before trying to delete it
This commit is contained in:
parent
ff6728de7b
commit
2d13103ff7
1 changed files with 3 additions and 1 deletions
|
@ -88,4 +88,6 @@ if __ltihooks_used__:
|
||||||
__ltihooks_used__ = False
|
__ltihooks_used__ = False
|
||||||
del ltihooks
|
del ltihooks
|
||||||
import sys
|
import sys
|
||||||
del sys.modules['ltihooks']
|
if 'ltihooks' in sys.modules:
|
||||||
|
del sys.modules['ltihooks']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue