Nov-27-2019, 05:06 AM
Can you share the code of mainloop() function, without knowing the code, we can't conclude the actual functionality/behavior of the loop
while 1: code hereThis will create infinite loop, programmatically we should avoid such loops unless it has purpose