| 931 | } |
| 932 | |
| 933 | void GjsContextPrivate::exit(uint8_t exit_code) { |
| 934 | g_assert(!m_should_exit); |
| 935 | m_should_exit = true; |
| 936 | m_exit_code = exit_code; |
| 937 | } |
| 938 | |
| 939 | bool GjsContextPrivate::should_exit(uint8_t* exit_code_p) const { |
| 940 | if (exit_code_p != nullptr) |
no outgoing calls
no test coverage detected