Skip to content

Commit

Permalink
fix(unlink): reset target first
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Oct 18, 2023
1 parent a508381 commit ca18b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/patchbay.impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,8 @@ namespace vencord
// NOLINTNEXTLINE(*-value-param)
void patchbay::impl::receive([[maybe_unused]] cr_recipe::sender, [[maybe_unused]] unset_target)
{
created.clear();
target.reset();
created.clear();

mic.reset();
}
Expand Down

0 comments on commit ca18b1d

Please sign in to comment.