mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-28 09:35:55 +03:00
[GH-ISSUE #336] Attempt new solution to revert Proxy when the app is terminated by OS #333
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#333
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NghiaTranUIT on GitHub (Nov 22, 2019).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/336
Originally assigned to: @NghiaTranUIT on GitHub.
🐶 Brief
It's possible to handle the Termination message from the OS and quickly revert the Proxy by using
applicationShouldTerminateRef: https://developer.apple.com/documentation/appkit/nsapplicationdelegate/1428642-applicationshouldterminate?language=objcc
Let support it 👍
👑 Criteria
@NghiaTranUIT commented on GitHub (Nov 23, 2019):
Better solution for gracefully reverting back the Proxy Config when the app is crashed, force quit, ...
https://stackoverflow.com/questions/49132097/how-to-detect-force-close-on-mac-os-x-app
@NghiaTranUIT commented on GitHub (Nov 23, 2019):
All done 👍
@NghiaTranUIT commented on GitHub (Nov 24, 2019):
This ticket is invalid and I would revert the change. Thank for the insight from Matt (https://twitter.com/mattie/status/1198202916143869954?s=20)