Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021