fpw / avitab

X-Plane plugin that displays a tablet to aid VR usage
GNU Affero General Public License v3.0
300 stars 59 forks source link

Convert raw pointers to LoadManager into shared pointers. #191

Closed mjh65 closed 9 months ago

mjh65 commented 9 months ago

Following discussions in a separate PR, this update changes the xdata loaders to be given a shared pointer to the LoadManager, rather than the raw pointer that was previously supplied. This is mainly to fix a C++ style concern, since the loaders have a relatively short lifespan and never outlive the LoadManager.

fpw commented 9 months ago

Perfect, thank you!