Since TTMSFNCWinWebBrowser.ExecuteJavascript reports completion with an empty string when ICoreWebView2.ExecuteScript fails (the 1.3.4.3 fix — thanks for that), those empty results now reach the completion handlers. TTMSFNCCustomMaps.DoGetBounds and DoGetCenterCoordinate only guard AValue = 'null' and then assign c.JSON := '', which raises in TTMSFNCJSONReader.DoPeek (via ReadBeginObject). We hit this during control destruction: a tab switch frees the maps control, DeInitialize delivers one last pending completion, and every subsequent ExecuteScript then fails because the browser is tearing down — so the queue drains synchronously (by design of the 1.3.4.3 fix) until the getBounds() completion runs FromJSON(''). Suggested fix: treat '' like 'null' in both handlers; the other completion handlers (ParseScript/TryStrToFloatDot-based) already handle an empty value safely.
Hi,
Thank you for notifying us.
This issue has been resolved and the update will be available with the next TMS FNC Maps release.