diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-02-07 02:33:11 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-02-07 02:33:11 +0100 |
commit | 9539a71dbeafdc4107d3b92eefada332ee45579a (patch) | |
tree | 65b8ceb183ee939f9684a783a40fc0f8fe5fd860 /src/plugins/Soundcloud.cpp | |
parent | 9f12d8a7f6e4cdf0cb95130b69da2b368cc9cbb5 (diff) |
Manga: fix crashes when navigating from/to creators page/bookmarks page (shared ptr deinit in non-main thread deiniting gl resources in non main thread), add pgup/pgdown/home/end to navigate manga faster
Diffstat (limited to 'src/plugins/Soundcloud.cpp')
-rw-r--r-- | src/plugins/Soundcloud.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/Soundcloud.cpp b/src/plugins/Soundcloud.cpp index fa37e29..7f2b1f1 100644 --- a/src/plugins/Soundcloud.cpp +++ b/src/plugins/Soundcloud.cpp @@ -288,7 +288,9 @@ namespace QuickMedia { PluginResult SoundcloudSearchPage::submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) { submit_page.submit_body_item = submit_body_item; - return submit_page.submit(title, url, result_tabs); + PluginResult result = submit_page.submit(title, url, result_tabs); + submit_page.submit_body_item = nullptr; + return result; } SearchResult SoundcloudSearchPage::search(const std::string &str, BodyItems &result_items) { |