Status Desktop client made in Nim & QML https://status.app
Go to file
Eric Mastro c415f3b989 fix: interrupt running sticker task when exiting
Fixes: #2318.

Currently, when exiting the app and the sticker packs task is being run, the app will wait for the sticker packs task to completely finish before exiting the app. This causes a beachball to be displayed and can cause a long delay while waiting for the task to finish.

This PR passes an interrupt signal to the sticker pack loading task in the threadpool thread. The task loads the interrupt on each iteration of its loop (each sticker pack to load) and also during the processing of each sticker pack (getting of sticker pack data). This allows the application to exit neatly.

fix: Handle shutdown of long-running (marathon) task before login
Currently, we wait for the “loggedIn” message to be passed to the marathon task runner before initialising the mailserver model. We were, however, blocking the thread until “loggedIn” was received, meaning that if “shutdown” was received (as it is when cmd+q is pressed), this message would be ignored and the application would have to be forced to quit.

This PR adds logic that not only listens for the “loggedIn” message, but also for the “shudown” message. Once the “shutdown” message is received, the marathon worker thread exits.
2021-05-27 16:19:10 +10:00
ci ci: scripts/sign-windows-bin.sh for signing Windows binaries 2021-04-28 18:19:17 +02:00
devuser_guide docs(pins): add dev guide for pinned messages 2021-05-26 12:12:05 -04:00
docs adjust readme 2021-05-07 16:32:41 -04:00
scripts ci: scripts/sign-windows-bin.sh for signing Windows binaries 2021-04-28 18:19:17 +02:00
src fix: interrupt running sticker task when exiting 2021-05-27 16:19:10 +10:00
ui fix(CommunityRequest): fix request list emptying after accepting 2021-05-26 15:27:49 -04:00
vendor update status-go version to match master 2021-05-26 12:12:05 -04:00
.gitignore feat: command-line option can be used to specify app's data directory 2021-04-26 09:40:58 -05:00
.gitmodules chore: remove wrong git submodule 2021-05-04 15:40:31 -04:00
.npmrc chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
.yarnrc chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
AppRun build: use same container as Jenkins CI for local packaged builds on Linux 2021-04-27 13:49:46 -05:00
Info.dev.plist build: modify run logic for macOS dev builds so notifications work 2021-05-03 14:06:14 -04:00
Info.plist chore: revise how dev version of app icon is set on macOS during `make run` 2021-01-21 15:36:32 -06:00
LICENSE.md docs: indicate MPL 2.0 as the license 2020-09-23 15:14:59 -04:00
Makefile build: modify run logic for macOS dev builds so notifications work 2021-05-03 14:06:14 -04:00
QtWebEngineProcess.plist chore: refactor Linux and macOS build/packaging steps 2020-06-22 10:53:57 -05:00
README.md move building section to docs section; use readme from docs/readme 2020-06-22 10:34:07 -04:00
VERSION update to 0.1.0-beta.9 2021-04-22 12:49:11 -04:00
build-linux.sh build: use same container as Jenkins CI for local packaged builds on Linux 2021-04-27 13:49:46 -05:00
config.nims build: fetch macOS Homebrew bottles from GitHub Packages instead of bintray 2021-04-14 15:37:53 -04:00
docker-linux-app-image.sh build: use same container as Jenkins CI for local packaged builds on Linux 2021-04-27 13:49:46 -05:00
env.sh feat: get collectibles from the contracts and their respective apis 2020-06-18 10:55:48 -04:00
fleets.json update mailserver fleet port to 443; 30504 was causing issues for some people 2020-12-09 16:55:59 -05:00
nim-status.desktop build: use same container as Jenkins CI for local packaged builds on Linux 2021-04-27 13:49:46 -05:00
nim.cfg build system refactoring 2020-06-08 13:07:25 -04:00
nim_status_client.nimble docs: indicate MPL 2.0 as the license 2020-09-23 15:14:59 -04:00
package-lock.json chore: bump package-lock.json 2021-01-25 16:04:13 -06:00
package.json fix: inside packaged macOS builds 'OPEN ME.webloc' should be a file not a symlink 2021-01-22 14:10:09 -05:00
status-dev.icns chore: revise how dev version of app icon is set on macOS during `make run` 2021-01-21 15:36:32 -06:00
status-dev.svg build: use a different colored app icon and a non-default STATUS_PORT for dev builds 2020-12-18 15:37:06 -05:00
status-macos-dev.svg chore: refactor prod/dev app icon and related logic for macOS 2021-01-15 19:12:42 -05:00
status-macos.svg chore: refactor prod/dev app icon and related logic for macOS 2021-01-15 19:12:42 -05:00
status.icns chore: revise how dev version of app icon is set on macOS during `make run` 2021-01-21 15:36:32 -06:00
status.ico add status icon 2020-05-11 16:41:45 -04:00
status.svg chore: update status.svg 2020-09-18 08:42:49 -05:00
windows-install.txt build: implement packaging steps for the Windows build 2020-07-17 13:57:32 -05:00

README.md