From 04deb4902ffe9b05d55c5364d604b2febb84ff16 Mon Sep 17 00:00:00 2001 From: Quentin Perez Date: Mon, 12 Oct 2015 10:28:36 +0200 Subject: [PATCH] Remove a mutex unlock --- app/client_context.go | 1 - 1 file changed, 1 deletion(-) diff --git a/app/client_context.go b/app/client_context.go index bd4cdd1..aee31c3 100644 --- a/app/client_context.go +++ b/app/client_context.go @@ -122,7 +122,6 @@ func (context *clientContext) sendInitialize() error { titleBuffer := new(bytes.Buffer) if err := context.app.titleTemplate.Execute(titleBuffer, titleVars); err != nil { - context.writeMutex.Unlock() return err } if err := context.write(append([]byte{SetWindowTitle}, titleBuffer.Bytes()...)); err != nil {