Merge pull request #1712 from skidau/GC-Adapter-thread-fix Corrected the buffer that is used by the GCAdapter thread.