0
0
Fork 0
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:
Jason Volk 2016-11-24 19:31:19 -08:00
parent 50cb4371dd
commit 686951ea8d

View file

@ -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;
}