MCPcopy Create free account
hub / github.com/catboost/catboost / ~TSharedRefArrayImpl

Method ~TSharedRefArrayImpl

library/cpp/yt/memory/ref-inl.h:363–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361 }
362
363 ~TSharedRefArrayImpl()
364 {
365 for (size_t index = 0; index < Size_; ++index) {
366 auto& part = MutableBegin()[index];
367 if (part.GetHolder() == this) {
368 part.Holder_.Release();
369 }
370 part.TSharedRef::~TSharedRef();
371 }
372 UnregisterFromRefCountedTracker();
373 }
374
375
376 size_t Size() const

Callers

nothing calls this directly

Calls 1

ReleaseMethod · 0.45

Tested by

no test coverage detected