Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GUI] Allow recursive usage of idCollector in CGUIControlGroup #12520

Merged
merged 1 commit into from Jul 19, 2017
Merged

[GUI] Allow recursive usage of idCollector in CGUIControlGroup #12520

merged 1 commit into from Jul 19, 2017

Conversation

peak3d
Copy link
Contributor

@peak3d peak3d commented Jul 18, 2017

[GUI] Allow recursice usage of idlookup in CGUIControlGroup

Description

CGUIControl::SendControlmessage is can be called recursice (e.g. closing a video with "x")
This leads to reusage of m_idLookup (wich was introduced for performance reasons) member.

Motivation and Context

Kodi on Win64 segfaults if pressing x during a running video

How Has This Been Tested?

Win10 / x64 / 7TV addon / starting a stream / press x

Types of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@peak3d peak3d changed the title [GUI] Allow recursice usage of idlookup in CGUIControlGroup [GUI] Allow recursice usage of idCollector in CGUIControlGroup Jul 18, 2017
@peak3d peak3d changed the title [GUI] Allow recursice usage of idCollector in CGUIControlGroup [GUI] Allow recursive usage of idCollector in CGUIControlGroup Jul 18, 2017
@peak3d peak3d requested a review from Paxxi July 18, 2017 13:43
@peak3d
Copy link
Contributor Author

peak3d commented Jul 18, 2017

Jenkins build this please

@peak3d peak3d merged commit 50ba70a into xbmc:master Jul 19, 2017
@peak3d peak3d deleted the multilookup branch July 19, 2017 08:46
@Rechi Rechi added this to the L 18.0-alpha1 milestone Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants