Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

UNR-1710 Fixed a crash that may happen if rpcs are sent to tornoff actor #1153

Merged
merged 2 commits into from
Jul 11, 2019

Conversation

aleximprobable
Copy link
Contributor

Contributions: We are not currently taking public contributions - see our contributions policy. However, we are accepting issues and we do want your feedback.


Description

In some cases RPCs might be sent to AActor that's been tornoff. This PR eliminates such cases.

Release note

Fix for an issue that didn't get to known issues yet.

Tests

This was experienced when a ragdoll was caught in an explosion.

Documentation

No doc update.

Primary reviewers

@mattyoung-improbable @improbable-valentyn

@improbable-prow-robot
Copy link

Corresponding JIRA ticket: https://improbableio.atlassian.net/browse/UNR-1710

@improbable-prow-robot improbable-prow-robot added jira/UNR size/XS Denotes a PR that changes 0-14 lines, ignoring generated files. labels Jul 11, 2019
Copy link
Contributor

@peterimprobable peterimprobable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, this solves the problem with ragdolls receiving splash damage.

Copy link
Contributor

@mattyoung-improbable mattyoung-improbable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small Nit in comment.

…river.cpp

Co-Authored-By: Matt Young <matthewyoung@improbable.io>
@aleximprobable aleximprobable merged commit 860827e into 0.6.0-rc Jul 11, 2019
@aleximprobable aleximprobable deleted the bugfix/unr-1710-rpcs-sent-to-tornoff-actor branch July 11, 2019 16:35
@peterimprobable
Copy link
Contributor

Use of bTearOff gives compilation warning

@peterimprobable
Copy link
Contributor

warning C4996: 'AActor::bTearOff': Use GetTearOff() or TearOff() functions. This property will become private. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
jira/UNR size/XS Denotes a PR that changes 0-14 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants