mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-06 17:51:36 +02:00
Unref the active permission on reset.
This commit is contained in:
parent
02ca1abec9
commit
a7b8d0621c
@ -170,6 +170,7 @@ void Request::reset() {
|
|||||||
_status_code = HTTP_STATUS_CODE_200_OK;
|
_status_code = HTTP_STATUS_CODE_200_OK;
|
||||||
// Maybe set NONE or only VIEW as default?
|
// Maybe set NONE or only VIEW as default?
|
||||||
permissions = WebPermission::WEB_PERMISSION_ALL;
|
permissions = WebPermission::WEB_PERMISSION_ALL;
|
||||||
|
active_permission.unref();
|
||||||
|
|
||||||
head.clear();
|
head.clear();
|
||||||
body.clear();
|
body.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user