Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix StandardInput singleton bug#296

Open
eidursveinn wants to merge 1 commit intoTouchScript:developTouchScript/TouchScript:developfrom
eidursveinn:fix-standardinput-singleton-bugeidursveinn/TouchScript:fix-standardinput-singleton-bugCopy head branch name to clipboard
Open

Fix StandardInput singleton bug#296
eidursveinn wants to merge 1 commit intoTouchScript:developTouchScript/TouchScript:developfrom
eidursveinn:fix-standardinput-singleton-bugeidursveinn/TouchScript:fix-standardinput-singleton-bugCopy head branch name to clipboard

Conversation

@eidursveinn
Copy link

What's the bug?

Previously the logic only checked whether the variable storing the singleton instance was null and if not destroyed it. However that doesn't take into account that the StandardInput component may have been disabled and then re-enabled and that this is the same instance as the one we had previously stored as the singleton instance.

This branch fixes that by adding a check for whether this is the same instance as we stored.

Previously the logic only checked whether the variable storing the singleton instance was null and if not destroyed it. However that doesn't take into account that the StandardInput component may have been disabled and then re-enabled and that this is the same instance as the one we had stored.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.