- 
    
Bug
 - 
    Resolution: Unresolved
 - 
    
P3: Somewhat important
 - 
    None
 - 
    6.9.0, 6.9.1, 6.8.3
 - 
    None
 - 
    Python 3.12.8
Windows 11 Pro 24H2 
Repeatedly calling a no-op* function using asyncio.to_thread() in a QtAsyncio event loop causes the following warning to be repeatedly spammed to the console:
QEventDispatcherWin32::wakeUp: Failed to post a message (Not enough quota is available to process this command.)
MWE to reproduce the issue:
import asyncio
from PySide6 import QtAsyncio
def no_op(): ...
async def my_coroutine():
    while True:
        await asyncio.to_thread(no_op)
if __name__ == "__main__":
    QtAsyncio.run(my_coroutine())
* or very short - if no_op() is defined as:
def no_op(): time.sleep(0.001)
the issue will still occur after ~20s