fix(custom): close endless scripts

This commit is contained in:
Alexis
2018-12-08 12:58:47 +01:00
parent 7befd27059
commit 1b13f9e38c
2 changed files with 17 additions and 6 deletions

View File

@ -12,6 +12,7 @@ namespace waybar::modules {
class Custom : public ALabel {
public:
Custom(const std::string, const Json::Value&);
~Custom();
auto update() -> void;
private:
void delayWorker();
@ -27,6 +28,7 @@ class Custom : public ALabel {
waybar::util::SleeperThread thread_;
waybar::util::command::res output_;
waybar::util::JsonParser parser_;
FILE* fp_;
};
}