The set_printer_ready() can be called from a background thread on a shutdown event, so don't try to lookup the printer components in that case. Simplify build_handlers() so that it no longer tests for components being available - test for component availability in the command handlers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
17 KiB
17 KiB