mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
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:
@@ -286,11 +286,11 @@ var YouTubeClient = GObject.registerClass({
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.lastInfo = info;
|
this.lastInfo = info;
|
||||||
|
debug('video info is ready to use');
|
||||||
|
|
||||||
this.emit('info-resolved', true);
|
this.emit('info-resolved', true);
|
||||||
this.downloadingVideoId = null;
|
this.downloadingVideoId = null;
|
||||||
|
|
||||||
debug('video info is ready to use');
|
|
||||||
|
|
||||||
return resolve(info);
|
return resolve(info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user