YT: move info ready debug message before signal emit

Otherwise it will appear in wrong order in debug output and be misleading
This commit is contained in:
Rafostar
2021-04-11 15:44:08 +02:00
parent 85804ea297
commit 92e3f7d93c

View File

@@ -286,11 +286,11 @@ var YouTubeClient = GObject.registerClass({
}
this.lastInfo = info;
debug('video info is ready to use');
this.emit('info-resolved', true);
this.downloadingVideoId = null;
debug('video info is ready to use');
return resolve(info);
}