View Single Post
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#124
Found the code that runs when you close the application
Code:
        closeApplication: function () {
            var plugin = this.getPlugin()._getPlugin();
            try {
                this._savePosition();
                PluginHttpRequest.PLUGIN = null;
                nokia.maps.mapPlayer.destroyObject();
                this.fireEvent("applicationClosing")
            } catch (e) {
                error("Application.closeApplication: " + e)
            }
           //Insert code here to close python server
            plugin.shutdown();
            plugin = null;
            window.close()
        },
 

The Following User Says Thank You to Blaizzen For This Useful Post: