I have problems with ShowModal method.
The problem is that one of my modal windows calls another modal window by using ShowModal method.
This mostly works fine, except sometimes when it causes a crash.
The crashes happen consistently, but at random occurrences (meaning that my app crashes eventually while repeatedly doing the same thing).
In an example crash I have a modal window that was show by using ShowModal statement.
In this window I have a list that, when double-clicked, creates and shows another modal window by using ShowModal statement (based on the element clicked).
Clicking on the elements of this list repeatedly (after closing the modal window which was opened) eventually causes a crash.
I am attaching a link to of stack trace on Mac of an example crash.
We are using XOJO Version 2017 1.1