VirtualBox

Changeset 84907 in vbox for trunk/src/VBox/Devices/Serial


Ignore:
Timestamp:
Jun 22, 2020 2:43:28 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138776
Message:

Devices/UartCore: Need to enter critical section on detach for stopping the timers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Serial/UartCore.cpp

    r84689 r84907  
    19711971    pThisCC->pDrvBase   = NULL;
    19721972    pThisCC->pDrvSerial = NULL;
     1973    PDMDevHlpCritSectEnter(pDevIns, &pThis->CritSect, VERR_IGNORED);
    19731974    uartR3XferReset(pDevIns, pThis, pThisCC);
     1975    PDMDevHlpCritSectLeave(pDevIns, &pThis->CritSect);
    19741976}
    19751977
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette