PyQt how to kill a thread and use same variable for the same thread with different dataset
I am creating an application that manages data. One function requires a thread to gather data in the background. To do that, I created a variable called bookGrabber
in my main class. At some point, the user starts the function to gather data, which assigns the BookGrabber
class to the variable self.bookGrabber