Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Clarify that gui.clear does not close a Skill #2769

Merged
merged 1 commit into from
Dec 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion mycroft/enclosure/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ def __contains__(self, key):
return self.__session_data.__contains__(key)

def clear(self):
"""Reset the value dictionary, and remove namespace from GUI."""
"""Reset the value dictionary, and remove namespace from GUI.

This method does not close the GUI for a Skill. For this purpose see
the `release` method.
"""
self.__session_data = {}
self.page = None
self.skill.bus.emit(Message("gui.clear.namespace",
Expand Down