Fix segfaults on deinit with timeline semaphores.
Fix segfaults on deinit with timeline semaphores.

Themaister/Granite,Themaister/Granite,Themaister/Granite,Themaister/Granite,Themaister/Granite,Themaister/Granite