Commit 04deb490 by Quentin Perez

Remove a mutex unlock

1 parent f7b54e9e
Showing with 0 additions and 1 deletions
......@@ -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 {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!