Unregister parser from text buffer notifications when it's disposed