lib/semantic_logger/appender/async.rb in semantic_logger-4.2.2 vs lib/semantic_logger/appender/async.rb in semantic_logger-4.3.0
- old
+ new
@@ -40,9 +40,10 @@
lag_threshold_s: 30)
@appender = appender
@lag_check_interval = lag_check_interval
@lag_threshold_s = lag_threshold_s
+ @thread = nil
if max_queue_size == -1
@queue = Queue.new
@capped = false
else