MCPcopy Create free account
hub / github.com/GNOME/gjs / should_exit

Method should_exit

gjs/context.cpp:939–943  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

937}
938
939bool GjsContextPrivate::should_exit(uint8_t* exit_code_p) const {
940 if (exit_code_p != nullptr)
941 *exit_code_p = m_exit_code;
942 return m_should_exit;
943}
944
945void GjsContextPrivate::exit_immediately(uint8_t exit_code) {
946 warn_about_unhandled_promise_rejections();

Callers 3

marshalMethod · 0.80
callback_closureMethod · 0.80
spinMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected