openDsh / dash

Join us on Slack! https://join.slack.com/t/opendsh/shared_invite/zt-la398uly-a6eMH5ttEQhbtE6asVKx4Q
GNU General Public License v3.0
256 stars 80 forks source link

[Hotfix] Reorder declaration of structs to prevent segfault #114

Closed icecube45 closed 2 years ago

icecube45 commented 2 years ago

Initializer lists run in the order of declaration. With previous declaration order, Session::Core::Core was capturing uninitialized handler for all the Action lambdas, causing segfault on action usage.