[TIMOB-2127] context destruction may not occur with nav controller popping

GitHub Issuen/a
Resolution Date2017-05-26T17:35:56.000+0000
Affected Version/sn/a
Fix Version/sn/a
Labelscontext, defect, ios, iphone, navigationgroup, tabGroup, tabgroup, tbs-1.7.1
ReporterStephen Tramer
AssigneeIngo Muschenetz


It looks like sometimes contexts are not destroyed when popping nav controllers, if the operation is performed fast enough. To witness, run KS->Phone->Play Movie->Embedded Video and immediately click the left nav button. May take a few times to reproduce, but eventually you will get the video playing (you can hear the sound) and no 'complete' message. When the video does stop playing two 'complete' messages will appear.

Probably has something to do with our nav stack management. Confirmed to not just be a problem with the video player, although that's the most obvious way to see the issue.


  1. Blain Hamon 2011-04-15

    Watch https://github.com/appcelerator/titanium_mobile/tree/ios_window_refactor"> https://github.com/appcelerator/titanium_mobile/tree/ios_window_ref... for codefixes on this.

  2. Jeff Haynie 2011-04-15

    (from [19be393421bcfed0f84781520580eb3ebdb7b48c]) [#2127 state:fixed-in-qa] Couldn't recreate either on sim or on device, added debug line to movie_embed.js to make tracking easier. https://github.com/appcelerator/titanium_mobile/commit/19be393421bcfed0f84781520580eb3ebdb7b48c"> https://github.com/appcelerator/titanium_mobile/commit/19be393421bc...

  3. Eric Merriman 2011-05-11 Witnessed this once (on the 5th attempt), but only received a single "movie complete" alert. Killed the app, tried again , 15 attempts not able to reproduce. Killed the app, tried again, unable to reproduce with 20 attempts.
  4. Lee Morris 2017-05-26 Closing ticket as Invalid as this version of Kitchen Sink is no longer supported.

JSON Source