Skip to content
This repository has been 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
merged 1 commit into from
May 15, 2020

Conversation

monojenkins
Copy link

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