mirror of
https://github.com/yudai/gotty.git
synced 2025-12-24 11:20:13 +01:00
Remove a mutex unlock
This commit is contained in:
parent
f7b54e9e5a
commit
04deb4902f
1 changed files 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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue