- September 1, 2008
- 21,577
- 8,224
- Home Country
- New Zealand
Looks maybe like a threading issue.I was wondering the same...Does it check to see if the graph has been disposed of first, or blindly try and dispose of it?
PS is listening for events. It sees the WM_POWERBROADCAST (PBT_POWERSETTINGCHANGE) and starts a thread to stop playback and clean up the graph ("PS: Player is playing, kick off stop player thread"). Then it receives another of the same events while the other thread is still running. It starts another thread which throws the exception because the first thread has already [partially] done the job. That is my best guess...