The game closes by itself

Suddenly when I am in a game or meeting point the game decides to close, I don’t understand why this happens to me. Can somebody help me?

Something similar is happening on my computer also. The game runs fine up until one point on the map where it looks like it’s almost frozen but there is an icon that I can see moving around, then the game closes. I captured video of it happening which I’m thinking of posting on here to see if it can be resolved.