Skip to content

Clear middleware on reload#7

Open
ReubenUnruh wants to merge 2 commits intovinta:masterfrom
ReubenUnruh:clear-middleware-on-reload
Open

Clear middleware on reload#7
ReubenUnruh wants to merge 2 commits intovinta:masterfrom
ReubenUnruh:clear-middleware-on-reload

Conversation

@ReubenUnruh
Copy link
Copy Markdown

Reloads create duplicates of middleware.

Reproduce by creating middleware that writes to console. Each reload causes an extra console write

Fix by clearing middleware on reload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant