Skip to content
Snippets Groups Projects
  1. Apr 11, 2016
  2. Mar 11, 2016
  3. Feb 12, 2016
  4. Jan 28, 2016
  5. Jan 27, 2016
  6. Dec 21, 2015
  7. Dec 15, 2015
  8. Nov 25, 2015
  9. Nov 24, 2015
  10. Nov 20, 2015
  11. Sep 28, 2015
  12. Sep 17, 2015
  13. Sep 15, 2015
  14. Aug 21, 2015
  15. Jul 30, 2015
    • Hugo Beauzée-Luyssen's avatar
      cppcx: Fix a crash when releasing the EventManager · bd6ff48a
      Hugo Beauzée-Luyssen authored
      We don't want to hold a copy of the event manager, but rather a reference. The C++/CX type is intented to be solely a wrapper to the actual type.
      Furthermore, if due to C++/CX being garbage collected, holding a copy means the EventManagerCX destructor might be called after MediaPlayerCX's destructor, since it only decreases the EventManagerCX's refcount.
      Calling EventManagerCX's destructor without a valid libvlc_media_player_t (ie. VLC::MediaPlayer being deleted) will cause undefined behavior. By storing a reference, we ensure we just forward the events registrations to the actual VLC::EventManager, and that the GC won't bite us when releasing resources.
      bd6ff48a
  16. Jul 29, 2015
  17. Jul 21, 2015
  18. Jun 23, 2015
  19. Jun 16, 2015
  20. Jun 15, 2015
  21. May 30, 2015
  22. May 20, 2015
Loading