Skip to content

Commit

Permalink
Fix for rare race condition error
Browse files Browse the repository at this point in the history
  • Loading branch information
Phanx committed Feb 21, 2018
1 parent 761a141 commit cfce25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ function CoolLine:UNIT_EXITED_VEHICLE()
self:UnregisterEvent("ACTIONBAR_UPDATE_COOLDOWN")
for i = 1, #cooldowns do
local frame = cooldowns[i]
if strmatch(frame.name, "vehicle") then
if frame and strmatch(frame.name, "vehicle") then
ClearCooldown(nil, frame.name)
end
end
Expand Down

0 comments on commit cfce25d

Please sign in to comment.