May be it’s a know one. When you close the viewer with a http request not completed (callbacks not been called), the app “crash”.
I have had the same issue for quite a while now, but never come around to mention it.
You can solve it by setting a flag and then close in the end of the “dataAvailable” function.
But that is just a workaround. It should be filed as a bug I think…
Ok, this is not code that interferes so. Thank you for the tip.