More robust cleanup handling

This commit is contained in:
2026-04-20 09:52:48 +02:00
parent 06d2cdb68f
commit 2c57eb2ebf
2 changed files with 9 additions and 0 deletions

View File

@@ -35,6 +35,7 @@
#ifdef _WIN32
#define strdup _strdup
#define sleep_ms(ms) Sleep(static_cast<DWORD>(ms))
#endif
//#define DEBUG
@@ -833,3 +834,10 @@ rkt_data_t *rkt_webview_info()
}
void rkt_webview_exit_done(int done)
{
if (!done) {
ERROR0("rkt_webview_exit_done called with 'false', i.e. this library did not have a cleanup call\n");
}
}