More robust cleanup handling
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user