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:
@@ -17,6 +17,18 @@
|
||||
|
||||
#include "jerryscript-port.h"
|
||||
|
||||
#if !defined(_WIN32)
|
||||
|
||||
/**
|
||||
* Default implementation of jerry_port_init. Do nothing.
|
||||
*/
|
||||
void JERRY_ATTR_WEAK
|
||||
jerry_port_init (void)
|
||||
{
|
||||
} /* jerry_port_init */
|
||||
|
||||
#endif /* !defined(_WIN32) */
|
||||
|
||||
/**
|
||||
* Default implementation of jerry_port_fatal. Calls 'abort' if exit code is
|
||||
* non-zero, 'exit' otherwise.
|
||||
|
||||
Reference in New Issue
Block a user