mirror of
https://github.com/hexedtech/codemp-sublime.git
synced 2024-12-04 20:04:52 +01:00
try an async sending.
This commit is contained in:
parent
5821b6b354
commit
17ad35dfd7
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class CodempClientTextChangeListener(sublime_plugin.TextChangeListener):
|
|||
try:
|
||||
vbuff = buffers.lookupId(bid)
|
||||
logger.debug(f"local buffer change! {vbuff.id}")
|
||||
vbuff.send_change(changes)
|
||||
sublime.set_timeout_async(lambda: vbuff.send_change(changes))
|
||||
except KeyError:
|
||||
logger.error(f"could not find registered buffer with id {bid}")
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue