1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 16:29:43 +01:00

Delete NetworkReply when async request is done in JSResolverHelper.

This commit is contained in:
Christian Muehlhaeuser 2015-04-07 18:59:11 +02:00
parent c100cb913e
commit ab0dec55d0

@ -934,6 +934,8 @@ JSResolverHelper::nativeAsyncRequest( const int requestId, const QString& url,
void
JSResolverHelper::nativeAsyncRequestDone( int requestId, NetworkReply* reply )
{
reply->deleteLater();
QVariantMap map;
map["response"] = QString::fromUtf8( reply->reply()->readAll() );
map["responseText"] = map["response"];