new source file close button works, but not on multiple tabs

Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
chcurran
2021-11-10 16:40:33 -08:00
committed by Chris Burel
parent 6c1d1dc2e2
commit 5558be2aeb
3 changed files with 25 additions and 40 deletions
@@ -203,15 +203,6 @@ namespace ScriptCanvasEditor
, m_path(path)
{}
SourceHandle::~SourceHandle()
{
AZ_TracePrintf("ScriptCanvas", "Destroy Handle: %p, count %d", m_data.get(), m_data.use_count());
if (m_data.use_count() <= 1)
{
AZ_TracePrintf("ScriptCanvas", "BOOM Handle: %p, count %d", m_data.get(), m_data.use_count());
}
}
bool SourceHandle::AnyEquals(const SourceHandle& other) const
{
return m_data == other.m_data
@@ -330,7 +330,7 @@ namespace ScriptCanvasEditor
SourceHandle(ScriptCanvas::DataPtr graph, const AZ::Uuid& id, AZStd::string_view path);
~SourceHandle();
~SourceHandle() = default;
bool AnyEquals(const SourceHandle& other) const;