Narrow FileAccess scope to prevent deadlocks.
This commit is contained in:
@ -152,7 +152,7 @@ void VideoStreamPlaybackTheora::clear() {
|
||||
theora_eos = false;
|
||||
vorbis_eos = false;
|
||||
|
||||
file = Ref<FileAccess>();
|
||||
file.unref();
|
||||
playing = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user