OpenGL in background mode is not used, so we can skip mutex lock and filling in the list which later is never used. This gives unmeasurable speedup by skipping mutex lock, plus solves memory leak in the background mode.
OpenGL in background mode is not used, so we can skip mutex lock and filling in the list which later is never used. This gives unmeasurable speedup by skipping mutex lock, plus solves memory leak in the background mode.