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

Conversation

@forslund
Copy link
Collaborator

Description

The remove_all_listeners did not remove the appropriate wrapper mapping leaving trailing references to skills if a scheduled repeating event was used.

This also removes a couple of circular references (doing no real harm) to get the ref-count debug code to report correctly.

How to test

See the new test case.

Contributor license agreement signed?

CLA [ Yes ]

This cleans up the extra skills references making the ref count trigger
correctly.
The threaded event emitter did not remove the wrapper mapping when
remove_all_events were called causing trailing references to objects.
Ensure that the event scheduler shutdown removes the all references in
the ThreadedEventEmitter.
@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 caf3341 into MycroftAI:dev Nov 7, 2019
@forslund forslund deleted the bugfix/remove-all-events branch November 28, 2019 09:42
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