diff options
author | B14CK313 <jajoblack@gmx.de> | 2021-07-14 16:26:07 +0200 |
---|---|---|
committer | B14CK313 <jajoblack@gmx.de> | 2021-07-14 16:26:07 +0200 |
commit | 5415cd9d07522fbdff23a69ebc0d9eccc26821b3 (patch) | |
tree | 866cda535f12392902d633026aa7ae0d513f9186 /plugins/language_yaml.lua | |
parent | 2f1c6d8a1dc2a5a44fc6a0781c551ca50211a769 (diff) | |
download | lite-xl-plugins-5415cd9d07522fbdff23a69ebc0d9eccc26821b3.tar.gz lite-xl-plugins-5415cd9d07522fbdff23a69ebc0d9eccc26821b3.zip |
Fixed smallclock plugin eating cpu
The plugin uses coroutines but did not yield a value, thus the coroutine
was called way more often than necessary
Fixed it by simply yielding 1, so it only gets called once per second
Diffstat (limited to 'plugins/language_yaml.lua')
0 files changed, 0 insertions, 0 deletions