blob: 2e9f261035ffb5c2f33e15ee01ab9e4c2633f055 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/developer/debug/zxdb/symbols/module_symbols.h"
namespace zxdb {
ModuleSymbols::ModuleSymbols() : weak_factory_(this) {}
ModuleSymbols::~ModuleSymbols() {
if (deletion_cb_)
deletion_cb_(this);
}
fxl::WeakPtr<ModuleSymbols> ModuleSymbols::GetWeakPtr() { return weak_factory_.GetWeakPtr(); }
} // namespace zxdb