Skip to content

Commit 33889d8

Browse files
committed
Remove sleep in webview dialog (related to SPE-2567)
1 parent 8d775c7 commit 33889d8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/slic3r/GUI/WebViewDialog.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
#include <libslic3r/PresetBundle.hpp> // IWYU pragma: keep
1717

18-
#include <thread>
19-
2018
#include <wx/webview.h>
2119
#include <wx/display.h>
2220

@@ -706,7 +704,6 @@ void LoginWebViewDialog::on_navigation_request(wxWebViewEvent &evt)
706704
delete_cookies(m_browser, "https://appleid.apple.com");
707705
delete_cookies(m_browser, "https://facebook.com");
708706
evt.Veto();
709-
std::this_thread::sleep_for(std::chrono::milliseconds(500));
710707
m_ret_val = into_u8(url);
711708
EndModal(wxID_OK);
712709
} else if (url.Find(L"accounts.google.com") != wxNOT_FOUND

0 commit comments

Comments
 (0)