Home › Forums › OpenEars › Getting rid of flashing red banner › Reply To: Getting rid of flashing red banner
February 25, 2014 at 1:25 pm #1020332
That’s OK, but it’s a view controller that you just created at a brand-new memory address, so even if it has a PocketsphinxController, it can’t be the same PocketsphinxController that is already running. You have to tell the PocketsphinxController which is running to stop. The time that you want to do that is before exiting the view controller it is instantiated in, so that it is possible for the view controller it is instantiated in to be released without ending up with a dangling pointer that can’t be released containing a PocketsphinxController that can’t be stopped.