aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/lib.rs
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-11-02 17:50:14 +0100
committerGitHub <noreply@github.com>2022-11-02 17:50:14 +0100
commit4e0323020a794139bf3c809a9a70d87be3f2885c (patch)
tree574409872328b07bd1b48b3bd480a50f049d0f06 /src-tauri/src/lib.rs
parentd2ab94e7e0e786b35d54a855926a0c3be0737b0f (diff)
downloadFlightCore-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/src/lib.rs')
0 files changed, 0 insertions, 0 deletions