diff options
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r-- | pkg/gui/gui.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index ad3dc3e34..4be909dc8 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -72,7 +72,6 @@ type Gui struct { Updater *updates.Updater statusManager *status.StatusManager waitForIntro sync.WaitGroup - fileWatcher *fileWatcher viewBufferManagerMap map[string]*tasks.ViewBufferManager // holds a mapping of view names to ptmx's. This is for rendering command outputs // from within a pty. The point of keeping track of them is so that if we re-size @@ -476,8 +475,6 @@ func NewGui( afterLayoutFuncs: make(chan func() error, 1000), } - gui.WatchFilesForChanges() - gui.PopupHandler = popup.NewPopupHandler( cmn, func(ctx goContext.Context, opts types.CreatePopupPanelOpts) error { @@ -680,10 +677,6 @@ func (gui *Gui) RunAndHandleError(startArgs appTypes.StartArgs) error { manager.Close() } - if !gui.fileWatcher.Disabled { - gui.fileWatcher.Watcher.Close() - } - close(gui.stopChan) switch err { |