]> src.bluestatic.org Git - macgdbp.git/commit
Fix potential crash when detaching and reattaching.
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 18 May 2015 12:20:28 +0000 (08:20 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 18 May 2015 12:20:28 +0000 (08:20 -0400)
commit45e720ad7f4c9904384bc430d2752f5318913ef7
treedcc3e7543b2294b84e03491f420f0320e2cc3695
parentbf9cc3645821d0ae93569e5998fd8650c1cad665
Fix potential crash when detaching and reattaching.

Waiting via sleep() in -[MessageQueue scheduleListenSocket] will ignore any
disconnect messages, since the run loop is not being serviced. Instead, wait by
pumping the loop.
Source/DebuggerBackEnd.m
Source/MessageQueue.h
Source/MessageQueue.m