Remove a mutex unlock

This commit is contained in:
Quentin Perez 2015-10-12 10:28:36 +02:00
parent f7b54e9e5a
commit 04deb4902f

View File

@ -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 {