Skip to content

Commit

Permalink
danieleteti#581 - Fix error on removing default connection;
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelojaloto committed Oct 21, 2022
1 parent fcb1afd commit 1778860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/MVCFramework.Middleware.ActiveRecord.pas
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ procedure TMVCActiveRecordMiddleware.OnAfterControllerAction(

procedure TMVCActiveRecordMiddleware.OnAfterRouting(AContext: TWebContext; const AHandled: Boolean);
begin
ActiveRecordConnectionsRegistry.RemoveDefaultConnection;
ActiveRecordConnectionsRegistry.RemoveDefaultConnection(False);
end;

procedure TMVCActiveRecordMiddleware.OnBeforeControllerAction(
Expand Down

0 comments on commit 1778860

Please sign in to comment.