Attempt to fix MessageReply crash when saving tags
This commit is contained in:
@@ -894,8 +894,6 @@ void EditTagDialog::FetchTagSongChosen(const Song &original_song, const Song &ne
|
||||
|
||||
void EditTagDialog::SongSaveComplete(TagReaderReply *reply, const QString filename, const Song song) {
|
||||
|
||||
reply->deleteLater();
|
||||
|
||||
pending_--;
|
||||
|
||||
if (!reply->message().save_file_response().success()) {
|
||||
@@ -910,4 +908,6 @@ void EditTagDialog::SongSaveComplete(TagReaderReply *reply, const QString filena
|
||||
|
||||
if (pending_ <= 0) AcceptFinished();
|
||||
|
||||
metaObject()->invokeMethod(reply, "deleteLater", Qt::QueuedConnection);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user