Fix for bug while deleting file. This is due to a problem in the file path. (#5948)

Signed-off-by: T.J. McGrath-Daly <tj.mcgrath.daly@huawei.com>

Co-authored-by: Tobias Alexander Franke <tobias.alexander.franke@huawei.com>
monroegm-disable-blank-issue-2
tjmgd 5 years ago committed by GitHub
parent e16781e6b6
commit 26e8fd59eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -102,7 +102,8 @@ namespace AudioControls
for (auto it = librariesToDelete.begin(); it != librariesToDelete.end(); ++it)
{
DeleteLibraryFile((*it).c_str());
auto newPathOpt = fileIO->ResolvePath(AZ::IO::PathView{ *it });
DeleteLibraryFile(newPathOpt.value().Native());
}
previousLibraryPaths = m_foundLibraryPaths;

Loading…
Cancel
Save