Changes

Jump to: navigation, search

Callbacks

39 bytes added, 18:07, 20 February 2016
no edit summary
{{Main article|Howto:Troubleshooting Nasal Callbacks}}
{{Caution|Improper use of timers and listeners is one of the most common causes for FlightGear performance issues, because function callbacks (code) may be registered to be triggered/executed more often than required(potentially, several times per frame), this problem is not specific to [[Nasal]] code written by aircraft developers, but also C++ code written by FlightGear core developers, it's been the source of major resource leaks in FlightGear, causing severe stuttering and performance degradation over time.}}
The one thing that both timers and listeners have in common is that they're event handlers, i.e. mechanisms that allow custom code to be executed whenever a certain event is triggered, such as a configurable timer expiring and/or a property being updated/modified.
19,280
edits

Navigation menu