Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
Fix again user after free problems
Browse files Browse the repository at this point in the history
Commit 84646cc incorrectly
re-introduced those lines that were dropped in
decd704.

Fixes projecthamster#295
  • Loading branch information
rhertzog authored and jasuarez committed Mar 13, 2019
1 parent 354b7e7 commit 77a8d2e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions extension/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Copyright (c) 2016 - 2018 Eric Goller / projecthamster <elbenfreund@projecthamst
*/


const GLib = imports.gi.GLib;
const Lang = imports.lang;
const Shell = imports.gi.Shell;
const Meta = imports.gi.Meta;
Expand Down Expand Up @@ -198,9 +197,6 @@ function Controller(extensionMeta) {

global.log('Shutting down hamster-shell-extension.');
this._removeWidget(this.placement);
Main.panel.menuManager.removeMenu(this.panelWidget.menu);
GLib.source_remove(this.panelWidget.timeout);
this.panelWidget.actor.destroy();
this.panelWidget.destroy();
this.panelWidget = null;
this.apiProxy = null;
Expand Down

0 comments on commit 77a8d2e

Please sign in to comment.