PKG Installer fix

This commit is contained in:
Nekotekina committed 2015-11-14 20:26:42 +03:00
1 parent 080e503954
commit 7dfe9415c4
1 file changed
+1 -1
+1 -1
View File
@@ -289,7 +289,7 @@ void MainFrame::InstallPkg(wxCommandEvent& WXUNUSED(event))
volatile f64 progress = 0.0;
// Run PKG unpacking asynchronously
auto result = std::async(WRAP_EXPR(pkg_install(pkg_f, local_path + "/", progress)));
auto result = std::async(std::launch::async, WRAP_EXPR(pkg_install(pkg_f, local_path + "/", progress)));
// Wait for the completion
while (result.wait_for(15ms) != std::future_status::ready)