endContext
Terminate the current context.
endContext()

Description
This call should be used to close any execution context opened by calling eginContext or eginGlobalContext. If the current context was not opened by using one of those functions, endContext has no effect.