# destroy Source: https://www.nianticspatial.com/docs/api/kotlin/com.nianticspatial.nsdk.utils.FlowPollingManager.destroy/ destroy --- ## Declaration fun destroy() #### Summary Ends polling for good and completes every collection of flow, current and future. Called when the NSDKSession is closed, after which the feature can never emit again; a collector that outlives the session then finishes instead of waiting forever. Waits for a poll in flight. ---