Blender Git Commit Log

Git Commits -> Revision 0da8bae

September 6, 2016, 12:38 (GMT)
Claude: Fix asyncio handling!

Turns out using worker thread to run asyncio loop is not working with pillar, this code is totally
not blender-independent and hence cannot safely work in another thread.

So instead using same technique as in AmberAIO - 'stepping' of asyncio loop, instead of blindly
run_forever() and hoping loop will stop some day...

Note that we may rather call e.g. loop.run_later(1e-5, loop.stop), to actually give a bit more
time to the loop... Time will say what's best option here.

Commit Details:

Full Hash: 0da8bae85ac41a949048437f0f53ea705584a43f
Parent Commit: e48e0c1
Lines Changed: +40, -52

1 Modified Path:

/release/scripts/startup/bl_operators/claude/__init__.py (+40, -52) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021