lib/semantic_logger/appender/async.rb in semantic_logger-4.11.0 vs lib/semantic_logger/appender/async.rb in semantic_logger-4.12.0
- old
+ new
@@ -57,10 +57,10 @@
@queue&.close
create_queue
appender.reopen if appender.respond_to?(:reopen)
- @thread.kill if @thread&.alive?
+ @thread&.kill if @thread&.alive?
@thread = Thread.new { process }
end
# Returns [true|false] if the queue has a capped size.
def capped?