Commit 353483b0 authored by Sebastian Keller's avatar Sebastian Keller Committed by Marge Bot

automountManager: Remove unused volume queue

This is some leftover from code that was used to keep track of volumes
added/removed while the screen was locked before the move to a
components system in 2a800e4c. All that the remaining code does is
filter devices from an empty list.

Part-of: <GNOME/gnome-shell!1579>
parent de4ac884
Pipeline #248475 passed with stages
in 5 minutes and 20 seconds
......@@ -19,7 +19,6 @@ var AUTORUN_EXPIRE_TIMEOUT_SECS = 10;
var AutomountManager = class {
constructor() {
this._settings = new Gio.Settings({ schema_id: SETTINGS_SCHEMA });
this._volumeQueue = [];
this._activeOperations = new Map();
this._session = new GnomeSession.SessionManager();
this._session.connectSignal('InhibitorAdded',
......@@ -220,8 +219,6 @@ var AutomountManager = class {
GLib.source_remove(volume._allowAutorunExpireId);
delete volume._allowAutorunExpireId;
}
this._volumeQueue =
this._volumeQueue.filter(element => element != volume);
}
_reaskPassword(volume) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment