Skip to content

src: use unique_ptr in platform implementation

Replace raw pointers in task queues with std::unique_ptr. This makes ownership clearer.

The future V8 platform interface uses smart pointers, so I figured we could change the implementation proactively (and replace more raw pointers in other commits). What do you think?

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

src

Merge request reports

Loading