mirror of
https://github.com/modernw/AppInstallerForWin8.git
synced 2026-04-11 16:57:18 +10:00
Add a console client.
This commit is contained in:
@@ -571,7 +571,7 @@ bool AppxReader::isFileReaderAvailable ()
|
||||
bool AppxReader::destroy ()
|
||||
{
|
||||
if (!this->isAvailable ()) return false; // 表示已销毁等
|
||||
this->m_appxReader->Release ();
|
||||
if (this->m_appxReader) this->m_appxReader->Release ();
|
||||
this->m_appxReader = NULL;
|
||||
this->m_filePath = std::wstring (L"");
|
||||
return true;
|
||||
@@ -1145,7 +1145,7 @@ bool BundleReader::isFileReaderAvailable ()
|
||||
bool BundleReader::destroy ()
|
||||
{
|
||||
if (!this->isAvailable ()) return false; // 表示已销毁等
|
||||
this->m_bundleReader->Release ();
|
||||
if (this->m_bundleReader) this->m_bundleReader->Release ();
|
||||
this->m_bundleReader = NULL;
|
||||
this->m_filePath = std::wstring (L"");
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user