diff --git a/shell/view/Shell.py b/shell/view/Shell.py index 777c10c4..697dc1c8 100644 --- a/shell/view/Shell.py +++ b/shell/view/Shell.py @@ -209,8 +209,8 @@ class Shell(gobject.GObject): jobject.file_path = file_path datastore.write(jobject) finally: - datastore.destroy() - del datastore + jobject.destroy() + del jobject finally: os.remove(file_path)