Skip to content

support custom callFuncsBeforeQuit #10

@tony9527167

Description

@tony9527167
	quitAfterSecs := 2
	gracequit.New(
		g.Cfgs.PathPid,
		quitAfterSecs,
	).Init()

	gracequit.CallBeforeQuitFuncs = append(gracequit.CallBeforeQuitFuncs, dumpSomething)

	// ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions