mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 17:59:20 +00:00
Ensure we reset state for Messagebus.track_publish
.
This commit is contained in:
parent
e8f19e004e
commit
0d46c7a19b
@ -13,8 +13,9 @@ module MessageBus::DiagnosticsHelper
|
||||
def track_publish
|
||||
@tracking = tracking = []
|
||||
yield
|
||||
@tracking = nil
|
||||
tracking
|
||||
ensure
|
||||
@tracking = nil
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user