Index: /trunk/src/VBox/Frontends/VBoxShell/shellcommon.py
===================================================================
--- /trunk/src/VBox/Frontends/VBoxShell/shellcommon.py	(revision 19900)
+++ /trunk/src/VBox/Frontends/VBoxShell/shellcommon.py	(revision 19901)
@@ -164,5 +164,4 @@
     mgr = ctx['mgr']
     vb = ctx['vb']
-    session = mgr.getSessionObject(vb)
     mach = vb.createMachine(name, kind, base,
                             "00000000-0000-0000-0000-000000000000")
@@ -170,5 +169,4 @@
     print "created machine with UUID",mach.id
     vb.registerMachine(mach)
-    session.close()
 
 def removeVm(ctx,mach):
