Fix for [#28672] Blender segfault after exiting a game that was opened with autoplay on (Blender, not blenderplayer)
Autoplay misses uninitialisation, I'm just fixing the reported crash, it still misses all other frees, but as the program exits, we don't care?
This commit is contained in:
parent
fa3082bace
commit
7da6e0c82e
|
@ -296,6 +296,8 @@ int WM_init_game(bContext *C)
|
|||
|
||||
WM_operator_name_call(C, "VIEW3D_OT_game_start", WM_OP_EXEC_DEFAULT, NULL);
|
||||
|
||||
sound_exit();
|
||||
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue