This code sometimes can cause ORA-29970 exception, but only sometimes...
Code: Select all
OraChangeNotification.Enabled:=False;
OraChangeNotification.RemoveRegistration(Session);
OraQuery.CloseThanks
Code: Select all
OraChangeNotification.Enabled:=False;
OraChangeNotification.RemoveRegistration(Session);
OraQuery.Close