Skip to content
  1. Jun 11, 2014
  2. Jun 05, 2014
  3. Jun 04, 2014
  4. May 30, 2014
  5. May 28, 2014
  6. May 27, 2014
  7. May 20, 2014
  8. May 16, 2014
  9. May 08, 2014
  10. May 05, 2014
  11. Apr 30, 2014
  12. Apr 21, 2014
  13. Apr 17, 2014
  14. Apr 16, 2014
  15. Apr 08, 2014
  16. Mar 12, 2014
  17. Mar 11, 2014
  18. Mar 04, 2014
  19. Feb 27, 2014
  20. Feb 26, 2014
  21. Feb 21, 2014
  22. Feb 10, 2014
  23. Feb 06, 2014
  24. Jan 28, 2014
  25. Jan 16, 2014
    • Michael Hanselmann's avatar
      [CB-4755] Fix crash in Media.setVolume on iOS · a8cd8f99
      Michael Hanselmann authored
      
      
      Media.setVolume caused the application to crash after Media.release was
      called. Code causing crash:
      
        var m = new Media("test.caf");
        m.release();
        m.setVolume(1); // crash in this call
      
      The reason was that retrieving the CDVAudioFile instance from the sound
      cache would return nil after Media.release. This patch fixes the issue
      by explicitely checking for nil. It also does away with an unnecessary
      cache initialization, which isn't needed as -[Media setVolume:] doesn't
      write to the cache.
      
      Signed-off-by: default avatarMichael Hanselmann <public@hansmi.ch>
      a8cd8f99