Skip to content

Commit 7a06aa5

Browse files
Revert "Avoid scanning batchCursors at exitApplication when object does not have BatchCursors"
This reverts commit bc9f8de.
1 parent bc9f8de commit 7a06aa5

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

java/src/main/java/com/genexus/GXProcedure.java

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -135,30 +135,15 @@ protected boolean isRemoteProcedure()
135135
{
136136
return Application.isRemoteProcedure(context, remoteHandle, location);
137137
}
138-
protected boolean batchCursorHolder(){ return false;}
139-
protected void exitApp()
140-
{
141-
exitApplication(batchCursorHolder());
142-
}
143-
/**
144-
* @deprecated use exitApp()
145-
* */
138+
146139
protected void exitApplication()
147-
{
148-
exitApplication(true);
149-
}
150-
private void exitApplication(boolean flushBuffers)
151140
{
152141
if(dbgInfo != null && Application.realMainProgram == this)
153142
dbgInfo.onExit();
154-
155-
if (flushBuffers) {
156-
try {
157-
Application.getConnectionManager().flushBuffers(remoteHandle, this);
158-
} catch (Exception exception) {
159-
;
160-
}
161-
}
143+
try
144+
{
145+
Application.getConnectionManager().flushBuffers(remoteHandle, this);
146+
}catch(Exception exception){ ; }
162147
if(disconnectUserAtCleanup)
163148
{
164149
try

0 commit comments

Comments
 (0)