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

Fix Shutdown of removed skills #2376

Merged
merged 1 commit into from
Nov 7, 2019

Conversation

forslund
Copy link
Collaborator

Description

Verify that skill directory exists before writing to ensure that the
shutdown method doesn't throw exception if a skill is unloaded due to
being removed.

How to test

Start the skill process, remove a skill while core is running (rm -rf /opt/mycroft/skills/skill-folder) Make sure there is no exception logged.

Contributor license agreement signed?

CLA [ Yes ]

Verify that skill directory exists before writing to ensure that the
shutdown method doesn't throw exception if a skill is unloaded due to
being removed.
@devs-mycroft devs-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Oct 31, 2019
@forslund forslund merged commit f1327f0 into MycroftAI:dev Nov 7, 2019
@forslund forslund deleted the bugfix/shutdown-on-skill-remove branch November 28, 2019 09:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants