mirror of
https://github.com/RafaelSolVargas/Vulkan.git
synced 2025-10-29 16:57:23 +00:00
Setting new event loop
This commit is contained in:
parent
48d7166386
commit
4a22b43ce9
@ -70,7 +70,8 @@ class PlayerProcess(Process):
|
||||
try:
|
||||
print(f'Starting Process {self.name}')
|
||||
self.__playerLock = RLock()
|
||||
self.__loop = asyncio.get_event_loop()
|
||||
self.__loop = asyncio.get_event_loop_policy().new_event_loop()
|
||||
asyncio.set_event_loop(self.__loop)
|
||||
|
||||
self.__configs = Configs()
|
||||
self.__messages = Messages()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user