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:
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"];
|
||||
|
Loading…
x
Reference in New Issue
Block a user