is there a way to terminate the discoverycontroller in order to initialize it again without the app crashing in swift? /

Published at 2018-10-05 17:03:41

Home / Categories / Fire tv / is there a way to terminate the discoverycontroller in order to initialize it again without the app crashing in swift?
Hello,I fill a NavigationController containing a ViewController from where I'm initializing a DiscoveryController and starting a search for custom players. If I go back using the Back button of the Navigation Bar and try to advance back in the View Controller that I'm doing the flinging from, the log displays this:" :I:whisperplay:WhisperplayAdaptor:******** WPStateListener.onInitialized called **************:I:whisperplay:WhisperplayAdaptor:******** handleWPReady ************** " and the application just stops working, or it doesn't crash,it just freezes.
The "discove
ryController.close" doesn't seem to be doing anything.
I've tried accessing the deinit function in the FlingViewController when I hit the back button but it's never called. But if I comment out "self.discoveryController.searchPlayer(withId: "amzn.fling.sample.customplayer", andListener: self, orEnableLogs: true)" and try to sprint the application,the deinit function is called.
I find th
is really odd since the android version of this iOS app works.
I'm using this in Swift with the encourage of a AmazonFling pod found on GitHub.
Thank you for your time.

Source: amazon.com

Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0