[[ Bug 13121 ]] Fixed memory leak when releasing the player without remo...

...ving the observer first