check for nil writer before trying to publish to it
check for nil writer before trying to publish to it

pfig/streamtools,wxdublin/streamtools,deepglint/streamtools,nytlabs/streamtools,jacqui/streamtools,wxdublin/streamtools,pfig/streamtools,deepglint/streamtools,jacqui/streamtools,nytlabs/streamtools,wxdublin/streamtools,nytlabs/streamtools,pfig/streamtools,deepglint/streamtools,wxdublin/streamtools,nytlabs/streamtools,jacqui/streamtools,pfig/streamtools,deepglint/streamtools,jacqui/streamtools