MCPcopy Create free account
hub / github.com/catboost/catboost / AsynchronousDeleter

Function AsynchronousDeleter

library/cpp/yt/memory/unittests/weak_ptr_ut.cpp:392–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390using TSlowlyDyingObjectWkPtr = TWeakPtr<TSlowlyDyingObject>;
391
392static void AsynchronousDeleter(TSlowlyDyingObjectPtr& indirectObject)
393{
394 indirectObject.Reset();
395}
396
397TEST_F(TWeakPtrTest, AcquisitionOfSlowlyDyingObject)
398{

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.45

Tested by

no test coverage detected