diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-11-02 17:50:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-02 17:50:14 +0100 |
commit | 4e0323020a794139bf3c809a9a70d87be3f2885c (patch) | |
tree | 574409872328b07bd1b48b3bd480a50f049d0f06 /src-tauri/icons/32x32.png | |
parent | d2ab94e7e0e786b35d54a855926a0c3be0737b0f (diff) | |
download | FlightCore-4e0323020a794139bf3c809a9a70d87be3f2885c.tar.gz FlightCore-4e0323020a794139bf3c809a9a70d87be3f2885c.zip |
refactor: Make all functions async (#35)
This way none of them are run on main thread and as such if a function
panics, it will only crash that specific thread allowing the rest of the
application to survive.
The only exception is `force_panic()` as its purpose is hard crashing
the application.
From the frontend side of things, `invoke()` is already async, so no
frontend changes are needed.
Diffstat (limited to 'src-tauri/icons/32x32.png')
0 files changed, 0 insertions, 0 deletions