mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-12-22 23:17:29 +00:00
Remove a mutex unlock
This commit is contained in:
parent
f7b54e9e5a
commit
04deb4902f
@ -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…
Reference in New Issue
Block a user