rust-windowing / rust-windowing/winit

Save before shutdown

Open
#1,817 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C - needs discussion DS - appkit DS - wayland DS - win32 DS - x11 H - help wanted S - enhancement
Dominant language
Rust
Stars
6.2k
Forks
1.3k
Avg merge
2d 19h
Merged PRs (30d)
9

Description

Hello, at the moment i have an app that save some data before it close, but if the user directly shutdown his computer, nothing is saved, so, i'd like to know, is it possible to stall windows from shutting down.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by determining whether winit can receive or delay Windows shutdown notifications, then define the platform-specific API and expected behavior for saving before shutdown.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.