diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index 6f88e1a20..df5746e1f 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -292,6 +292,8 @@ var ScreenshotService = class { invocation.return_error_literal( Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED, 'Operation was cancelled'); + } finally { + this._removeShooterForSender(invocation.get_sender()); } } };