Skip to content

Commit

Permalink
Fix git issue
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Jan 26, 2025
1 parent b7bee21 commit edfb429
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
2 changes: 0 additions & 2 deletions Source/Pd/Instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ Instance::~Instance()
pd_free(static_cast<t_pd*>(parameterDestroyReceiver));
pd_free(static_cast<t_pd*>(parameterRangeReceiver));
pd_free(static_cast<t_pd*>(parameterModeReceiver));

// JYG added this
pd_free(static_cast<t_pd*>(dataBufferReceiver));

libpd_free_instance(static_cast<t_pdinstance*>(instance));
Expand Down
16 changes: 0 additions & 16 deletions Source/PluginEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1460,22 +1460,6 @@ bool PluginEditor::perform(InvocationInfo const& info)

auto* cnv = getCurrentCanvas();

if (!cnv)
return false;

switch (info.commandID) {
case CommandIDs::SaveProject: {
cnv->save();
return true;
}
case CommandIDs::SaveProjectAs: {
cnv->saveAs();
return true;
}
}

auto* cnv = getCurrentCanvas();

if (!cnv)
return false;

Expand Down

0 comments on commit edfb429

Please sign in to comment.