DescriptionFix the indirect pure virtual calls in DataFetcherSharedMemoryBase destructor.
StopFetchingDeviceData() may not be used in the destructor of this class because
it can call the pure virtual Stop() method. This patch fixes this issue by
introducing a StopFetchingAllDeviceData() method and calling it from the derived
DataFetcherSharedMemory class.
BUG=414632
Committed: https://crrev.com/694cd937163f3eb45a2e52dd7da7899c2c9db146
Cr-Commit-Position: refs/heads/master@{#295458}
Patch Set 1 #Patch Set 2 : fix comment in data_fetcher_shared_memory_base #
Total comments: 7
Patch Set 3 : Bernhard's comments #Patch Set 4 : fix DCHECK_EQ #Patch Set 5 : fix unsigned 0 compilation #
Messages
Total messages: 10 (2 generated)
|