fix(script): Unlock mutex before terminating command

Refs 
This commit is contained in:
Michael Carlberg 2016-12-31 14:08:44 +01:00
parent 210695d377
commit acb9ed910d
5 changed files with 20 additions and 46 deletions
include/modules

View file

@ -14,6 +14,9 @@ namespace chrono = std::chrono;
m_builder->cmd(BUTTON, string_util::replace_all(m_actions[BUTTON], "%counter%", counter_str))
namespace modules {
/**
* TODO: Split into timed-/streaming modules
*/
class script_module : public event_module<script_module> {
public:
explicit script_module(const bar_settings&, string);