Quit the engine thread of the first engine on dual_sync_engine_unclean()
Quit the engine thread of the first engine on dual_sync_engine_unclean()

We want to simulate a unclean engine exit (so we can't use
osengine_finalize() here), but we don't want the old engine thread to
be running and stealing the messages going to the second engine.

This fixes some hangs in the dual_sync_engine_unclean() unit test.


git-svn-id: c84d288072f89a5d247ff1cec484dbd0eb473012@950 53f5c7ee-bee3-0310-bbc5-ea0e15fffd5e

ianmartin/opensync,ianmartin/opensync