Skip to content

Commit

Permalink
Fixes exclude crash
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZdovc committed Jul 30, 2019
1 parent 6be5050 commit b700806
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ void BatPublishers::OnSetPublisherExclude(
}

publisher_info->excluded = exclude;
ledger_->SetPublisherInfo(std::move(publisher_info));
ledger_->SetPublisherInfo(publisher_info->Clone());
if (exclude == ledger::PUBLISHER_EXCLUDE::EXCLUDED) {
ledger_->DeleteActivityInfo(
publisher_info->id,
Expand Down

0 comments on commit b700806

Please sign in to comment.