WIP: safer callbacks
This commit is contained in:
parent
8714fcf24a
commit
f7a131c8c5
@ -55,6 +55,7 @@ protected:
|
||||
U* get() const noexcept { return reinterpret_cast<U*>(handle.get()); }
|
||||
|
||||
uv_loop_t* parent() const noexcept { return pLoop->loop.get(); }
|
||||
void reset() noexcept { ref = nullptr; }
|
||||
|
||||
public:
|
||||
explicit Resource(const Resource &) = delete;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user