mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 07:23:53 +01:00
ircd::js: Allow string deleter to print the string in its debug log.
This commit is contained in:
parent
50cb4371dd
commit
686951ea8d
1 changed files with 4 additions and 2 deletions
|
@ -2363,9 +2363,11 @@ void
|
|||
ircd::js::native_external_deleter(const JSStringFinalizer *const fin,
|
||||
char16_t *const buf)
|
||||
{
|
||||
log.debug("string delete (fin: %p buf: %p)",
|
||||
log.debug("runtime(%p): string(%p) delete (dtor @%p) \"%s\"",
|
||||
(const void *)rt,
|
||||
(const void *)buf,
|
||||
(const void *)fin,
|
||||
(const void *)buf);
|
||||
locale::char16::conv(buf).c_str());
|
||||
|
||||
delete[] buf;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue