[MOD-2357] iOS: ti.map module crashes application when closing window
|Joshua A. Ceaser
When opening a map view closing the window with the map view can cause crashes. This was introduced in 2.9 version of ti.map. I have tested version 2.8 of ti.map and have been unable to recreate the issue. I believe it is in one of the following commits: https://github.com/appcelerator-modules/ti.map/commit/2eacf35689d0ef974f53571ecfb6036b5d249dc9#diff-9e304d4e8df1b74cfa009913198428ab https://github.com/appcelerator-modules/ti.map/commit/428abe60efba08b316280fcc029ef9fd93d35be7#diff-9e304d4e8df1b74cfa009913198428ab Steps to reproduce: * Create a window with a button, on button click open a window in a navigation flow with a map * Populate the map with pins * Select pins and deselect them by clicking on map * Navigate back closing the window * If no crash occurs, repeat a few times.