mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[ue] Do not access TrackEntry during Destroy, as it may be invalid at that point.
This commit is contained in:
parent
ab545be08c
commit
fa0e27b555
@ -83,9 +83,6 @@ void USpineSkeletonAnimationComponent::BeginPlay() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void UTrackEntry::BeginDestroy() {
|
void UTrackEntry::BeginDestroy() {
|
||||||
if (entry) {
|
|
||||||
entry->setRendererObject(nullptr);
|
|
||||||
}
|
|
||||||
Super::BeginDestroy();
|
Super::BeginDestroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user