Error when uninstalling via plugin manager

When clicking Uninstall Plugin in the QGIS plugin manager (on Windows), the following error pops up:

Plugin uninstall failed:Failed to remove the directory: C:/Users/KraftTo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins/xmas_plugin Check permissions or remove it manually

In the directory, the file xmas_plugin_crash.log remains, so this seems to be related to the faulthandler.