Commit 6013e439 by Iwasaki Yudai

Merge pull request #76 from QuentinPerez/fix

Remove a mutex unlock
2 parents f7b54e9e 04deb490
Showing with 0 additions and 1 deletions
...@@ -122,7 +122,6 @@ func (context *clientContext) sendInitialize() error { ...@@ -122,7 +122,6 @@ func (context *clientContext) sendInitialize() error {
titleBuffer := new(bytes.Buffer) titleBuffer := new(bytes.Buffer)
if err := context.app.titleTemplate.Execute(titleBuffer, titleVars); err != nil { if err := context.app.titleTemplate.Execute(titleBuffer, titleVars); err != nil {
context.writeMutex.Unlock()
return err return err
} }
if err := context.write(append([]byte{SetWindowTitle}, titleBuffer.Bytes()...)); err != nil { 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!