Instance: fix wrong timer object in ScheduleCheckKeyBindings()
authorMax Kellermann <max@musicpd.org>
Fri, 25 Jan 2019 13:33:53 +0000 (14:33 +0100)
committerMax Kellermann <max@musicpd.org>
Fri, 25 Jan 2019 13:33:53 +0000 (14:33 +0100)
commit3c5fd01ac8d0ded58368a9805b187f81b9ac320d
tree042993bcc7348538e91ab9bd0959ef9be26495de
parent570ac0bfe054dbb9dde1375cba67152ecb9f0885
Instance: fix wrong timer object in ScheduleCheckKeyBindings()

By using the wrong timer, ncmpc could go into an endless busy loop,
because the (unconfigured) `reconnect_timer` was scheduled over and
over without a timeout.  This caused high CPU usage.

Closes #40
NEWS
src/Instance.hxx