- memory usage decreased in approximately 20%.
- small parser speed improvement, approximately 4%. - fixed some memory leaks. - fixed issues were details doesn't open with /details new. - added feedback options for details report.
This commit is contained in:
@@ -24,6 +24,18 @@ function SlashCmdList.DETAILS (msg, editbox)
|
||||
|
||||
if (_detalhes.opened_windows == 0) then
|
||||
_detalhes:CriarInstancia()
|
||||
else
|
||||
-- ter certeza que não bugou a contagem
|
||||
local have_opened = false
|
||||
for _, instance in ipairs (_detalhes.tabela_instancias) do
|
||||
if (instance.baseframe:IsShown()) then
|
||||
have_opened = true
|
||||
break
|
||||
end
|
||||
end
|
||||
if (not have_opened) then
|
||||
_detalhes:CriarInstancia()
|
||||
end
|
||||
end
|
||||
|
||||
elseif (command == Loc ["STRING_SLASH_DISABLE"]) then
|
||||
|
||||
Reference in New Issue
Block a user