Destroy screen once stream is finished
Destroy screen once stream is finished

The screen receives callbacks from the decoder, fed by the stream.

The decoder is run from the stream thread, so waiting for the end of
stream is sufficient to avoid possible use-after-destroy.

Genymobile/scrcpy,Genymobile/scrcpy,Genymobile/scrcpy