When all of the end crystals are destroyed the enderdragon begins to fly in a small circle indefinitely. Unless I leave and join the server in which case it will move for about a second and then get back to flying in a loop.
Environment
This bug occurred after summoning an enderdragon and destroying all the end crystals, it is on a server for 1.14.
Duplicate of MC-148179