--- alexandria-book-collection-manager-0.7.4/lib/alexandria/ui/new_book_dialog.rb.nothread 2020-01-03 17:37:42.394366241 +0900
+++ alexandria-book-collection-manager-0.7.4/lib/alexandria/ui/new_book_dialog.rb 2020-01-04 13:24:08.240415691 +0900
@@ -279,15 +279,17 @@ module Alexandria
get_images_async
false # continue == false if you get to here. Stop timeout.
end
- else
+ elsif @find_thread
# Stop if the book find thread has stopped.
@find_thread.alive?
+ else
+ true
end
# continue == false if @find_error OR if results are returned
# timeout ends if continue is false!
unless continue
- unless @find_thread.alive? # This happens after find_thread is done
+ unless (@find_thread && @find_thread.alive?) # This happens after find_thread is done
unless @destroyed
# GLib::Source.remove(progress_pulsing)
# @progressbar.hide