View Bug Report
Performance warning when right-clicking the bar
Bug #: 55
File: AutoFactionBar
Date: 08-03-14 08:57 AM
By: Dargor
Status: Fixed
The following error can be shown, when right-clicking the bar:
Code:
Error: performance warning
   In AutoFactionBar / AutoFactionBar.AutoFactionBar.factionbar.frame.border:RightClick
stack traceback:
   AutoFactionBar/main.lua:485: in function <AutoFactionBar/main.lua:469>
I got this error report automatically from Rift Addon Developer Services by mail.
I couldn't reproduce this by myself, so I'll need input and feedback from you, to fix this. What could help:
  • When did this issue occured first? Version 0.7.0 or earlier?
  • What rig do you have?
  • What other addons do you have installed?

For developers, that might help:
My assumption is, that this is caused by calling collectgarbage(). But this is called at various locations in the code and none of the others seem to cause an issue.

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Dargor - 08-07-14 06:52 AM
If my assumption was right, I hopefully fixed this with v0.7.1

Information for developers:
I changed every call of collectgarbage() to
repeat
local result = collectgarbage("step", 1)
until not result

This should do a step by step garbage collection.
By: Dargor - 08-18-14 02:25 AM
No errors since release of v0.7.1 - so this issue is fixed.
 
Menu
» Home



Stats
Files: 1
Downloads: 4,717
Favorites: 15

New & Updated


Riftui