crazydevman / mute-profanity

XBMC add-on used to mute profanity
GNU General Public License v3.0
33 stars 14 forks source link

Be able to cancel long operations #3

Closed crazydevman closed 11 years ago

crazydevman commented 11 years ago

The addon opens up progress dialogs for 3 main actions:

The progress dialog allows the user to cancel the operation, but the code doesn't take this into account. We need to spawn a new thread to perform these actions, and monitor the dialog return value to see if the user has cancelled the operation. If so, we should cancel the operation as well.