mirror of
https://github.com/projectdiscovery/nuclei
synced 2026-06-08 16:50:47 +00:00
ad74c601c4
* Interrupt goja runtime on context cancel * undo import formats * do both actions in same go-routine to prevent any possible race condition * Convert the watchdog, into a simpeler construction which still guarantees the same promises * move the recover to the go routine, and return named return since we now can use the channel * remove unnecessary tests * add extra safety in case process refuses to get interrupted * remove unnecessary ExecFuncWithTwoReturns * remove named return values