mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
Added destructor to YACReaderHttpSession
This commit is contained in:
@ -6,6 +6,15 @@ YACReaderHttpSession::YACReaderHttpSession(QObject *parent)
|
||||
|
||||
}
|
||||
|
||||
YACReaderHttpSession::~YACReaderHttpSession()
|
||||
{
|
||||
if(comic != nullptr)
|
||||
delete comic;
|
||||
|
||||
if(remoteComic != nullptr)
|
||||
delete remoteComic;
|
||||
}
|
||||
|
||||
bool YACReaderHttpSession::isComicOnDevice(const QString & hash)
|
||||
{
|
||||
return comicsOnDevice.contains(hash);
|
||||
|
Reference in New Issue
Block a user