Fixed issue with dispose snippet

The dispose method should've been protected & not private