Plugin development: A copy of ApplicationController has been removed from the module tree but is still active!

Running Discoure stable branch in Docker in development with a custom plugin. Refreshing the page a few times causes this issue and then I have to restart the server.