Fixes dead loop when abort called in Win32/CI (#5197)

Disable the debug popup on MSVC/win32 by introduce new jerry_port_init function

For not popup dialog when crash happend on MSVC/win32
Closed: #4463

JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
Yonggang Luo
2024-12-11 15:52:05 +08:00
committed by GitHub
parent aa7861daf2
commit 8d44eed661
5 changed files with 87 additions and 0 deletions
+7
View File
@@ -4,6 +4,13 @@
It is questionable whether a library should be able to terminate an application. Any API function can signal an error (ex.: cannot allocate memory), so the engine use the termination approach with this port function.
```c
/**
* Init the program
*/
void jerry_port_init (void);
```
```c
/**
* Signal the port that jerry experienced a fatal failure from which it cannot