Mesh dispose triggers onDragEndObservable behavior

Why when I dispose my mesh does the onDragEndObservable behavior that is assigned to it trigger? I don’t think it’s a bug in my code but this is not easy to figure out and so far the best sense I can make is that there’s some kind of bug triggering the observable…

Pinging @Cedric

I’m taking a look…

@Cedric ok it’s definitely happening:

PR is live check dragging state before notifying drag end by CedricGuillemet · Pull Request #7731 · BabylonJS/Babylon.js · GitHub

1 Like

merged and will be in 4.1 :slight_smile:

1 Like

@Cedric awesome thanks. I built in a bypass for now.

What is the turn-around time on releases?

4.1 is released today ! Welcome to Babylon.js 4.1 - Babylon.js - Medium