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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user