Changeset 63231 in vbox for trunk/src/VBox/Frontends/VBoxShell
- Timestamp:
- Aug 9, 2016 7:04:34 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
r63223 r63231 37 37 38 38 39 import gc 39 40 import os 40 41 import sys … … 3577 3578 3578 3579 # 3579 # Set up the shell interpreter context and 3580 # Set up the shell interpreter context and start working. 3580 3581 # 3581 3582 from vboxapi import VirtualBoxManager … … 3599 3600 } 3600 3601 interpret(ctx) 3601 del ctx 3602 ctx = None 3602 3603 # 3604 # Release the interfaces references in ctx before cleaning up. 3605 # 3606 for sKey in list(ctx.keys()): 3607 del ctx[sKey]; 3608 ctx = None; 3609 gc.collect(); 3610 3603 3611 oVBoxMgr.deinit() 3604 3612 del oVBoxMgr
Note:
See TracChangeset
for help on using the changeset viewer.