Fix random crash
Fix random crash

twobitlabs/XCGLogger,tibmeister/XCGLogger,BrianBatchelder/XCGLogger,ymyzk/XCGLogger,BrianBatchelder/XCGLogger,msanders/XCGLogger,adonoho/XCGLogger,twobitlabs/XCGLogger,yjkim/XCGLogger,DaveWoodCom/XCGLogger,DaveWoodCom/XCGLogger,skreutzberger/XCGLogger,dougbeal/XCGLogger,pollarm/XCGLogger,msanders/XCGLogger,mottx/XCGLogger,cwoloszynski/XCGLogger,pomozoff/XCGLogger,tibmeister/XCGLogger,pollarm/XCGLogger,skreutzberger/XCGLogger,sportlabsMike/XCGLogger,dougbeal/XCGLogger,msanders/XCGLogger,pomozoff/XCGLogger,cwoloszynski/XCGLogger,mottx/XCGLogger,sportlabsMike/XCGLogger,ymyzk/XCGLogger,adonoho/XCGLogger,yjkim/XCGLogger