remove unnecessary framePtr code (#19645)
This commit is contained in:
parent
400e0260b8
commit
afbcba909b
2 changed files with 8 additions and 4 deletions
|
|
@ -130,7 +130,8 @@ proc unhandledException(e: ref Exception) {.
|
|||
when NimStackTrace:
|
||||
add(buf, rawWriteStackTrace())
|
||||
let cbuf = cstring(buf)
|
||||
framePtr = nil
|
||||
when NimStackTrace:
|
||||
framePtr = nil
|
||||
{.emit: """
|
||||
if (typeof(Error) !== "undefined") {
|
||||
throw new Error(`cbuf`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue