Skip to content

Don't know how to detect Windows Shutdown. Please help. #1

@Windows200000

Description

@Windows200000

IPLog/IPLog.js

Lines 393 to 396 in fd7eb90

['SIGINT', 'SIGTERM', 'SIGHUP', 'SIGBREAK', 'SIGQUIT', 'SIGKILL', 'SIGUSR1', 'SIGUSR2', 'exit', 'uncaughtException']
.forEach(signal => process.on(signal, () => {
shutDown()
}));

This does catch ctrl+c and alt+f4 / closing terminal, but not shutting down windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions