Allegheny County Controller Mark Patrick Flaherty this morning said the county is teetering on the edge of a financial crisis, which could see it running a $50 million deficit by 2012 because of its reliance on one-time state and federal government revenues that are increasingly drying up.