mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-12 04:11:31 +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
|
||||
del ltihooks
|
||||
import sys
|
||||
del sys.modules['ltihooks']
|
||||
if 'ltihooks' in sys.modules:
|
||||
del sys.modules['ltihooks']
|
||||
|
||||
|
|
Loading…
Reference in a new issue