mirror of
https://github.com/lutris/lutris
synced 2024-10-06 07:50:16 +00:00
Call winekill task when cancelling wine installs (Closes #2084)
This commit is contained in:
parent
3cc593789c
commit
7a7d41f94e
|
@ -730,6 +730,9 @@ class ScriptInterpreter(CommandsMixin):
|
|||
def revert(self):
|
||||
"""Revert installation in case of an error"""
|
||||
logger.info("Cancelling installation of %s", self.game_name)
|
||||
if self.runner_name.startswith("wine"):
|
||||
self.task({"name": "winekill"})
|
||||
|
||||
self.cancelled = True
|
||||
|
||||
if self.abort_current_task:
|
||||
|
|
Loading…
Reference in a new issue