Skip to content

Commit

Permalink
Merge branch 'develop' into 11250
Browse files Browse the repository at this point in the history
  • Loading branch information
ze97286 authored May 9, 2024
2 parents 094f8ee + 186a2ae commit edf74a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
- [11000](https://github.com/vegaprotocol/vega/issues/11000) - Vesting summary events are now sorted properly before sending.
- [11065](https://github.com/vegaprotocol/vega/issues/11065) - `SLA` commitment state is reset properly at the end of an epoch
- [10960](https://github.com/vegaprotocol/vega/issues/10960) - Only the owner of a referral set can update it.
- [11249](https://github.com/vegaprotocol/vega/issues/11249) - Composite mark price oracles are now deactivated when a market is rejected.
- [10970](https://github.com/vegaprotocol/vega/issues/10970) - Logic for whether a team member joined more than `rewards.team.minEpochsInTeam` is fixed.
- [10943](https://github.com/vegaprotocol/vega/issues/10943) - Fix error message format when node vote is sent again.
- [10928](https://github.com/vegaprotocol/vega/issues/10928) - Fix `collateralIncreaseEstimate` for limit orders in isolated margin mode
Expand Down
5 changes: 5 additions & 0 deletions core/execution/future/market.go
Original file line number Diff line number Diff line change
Expand Up @@ -4733,6 +4733,11 @@ func (m *Market) canTrade() bool {
func (m *Market) cleanupOnReject(ctx context.Context) {
m.tradableInstrument.Instrument.Unsubscribe(ctx)

m.markPriceCalculator.Close(ctx)
if m.internalCompositePriceCalculator != nil {
m.internalCompositePriceCalculator.Close(ctx)
}

// get the list of all parties in this market
parties := make([]string, 0, len(m.parties))
for k := range m.parties {
Expand Down

0 comments on commit edf74a5

Please sign in to comment.