yishayw edited a comment on issue #167:
URL: https://github.com/apache/royale-compiler/issues/167#issuecomment-744127492


   This may be a problem with static initializers. I haven't tried, but as a 
workaround maybe use a getter with lazy initialization for Devices. 
   
   In other words, try replacing
   
   static public var Devices:XMLListCollection=new XMLListCollection();
   
   with 
   
   static private var _Devices:XMListCollection;
   static public function get Devices():XMLListCollection()
   { 
            if (!_Devices) _Devices = new XMLListCollection();
            return _Devices;
   }
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to