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

[2020-02] Fix 1080409: StackOverflow exception opening Gtk hosted NSView#160

Merged
akoeplinger merged 1 commit intomono:2020-02from
monojenkins:backport-pr-159-to-2020-02
May 15, 2020
Merged

[2020-02] Fix 1080409: StackOverflow exception opening Gtk hosted NSView#160
akoeplinger merged 1 commit intomono:2020-02from
monojenkins:backport-pr-159-to-2020-02

Conversation

@monojenkins
Copy link
Copy Markdown

Problem was that if r.origin.x/r.origin.y were 0, same value was looped until stackoverflow.
Whole logic of method assumes that it will loop over children hence recursive but in fact it kept passing same NSView over and over again...

Backport of #159.

/cc @akoeplinger @DavidKarlas

Problem was that if `r.origin.x`/`r.origin.y` were 0, same value was looped until stackoverflow.
Whole logic of method assumes that it will loop over children hence recursive but in fact it kept passing same NSView over and over again...
@akoeplinger akoeplinger merged commit b66a663 into mono:2020-02 May 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants