summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJackLivio <jack@livio.io>2016-04-26 14:16:20 -0400
committerJackLivio <jack@livio.io>2016-04-26 14:16:20 -0400
commite0fda2c1b4c3bbefd7770b153250087ab35fe9b8 (patch)
tree020ef371177f5d645d080492bebdde75e9adcb87 /cmake
parentdd1bb4b463894c2d78dedbd16b13dabbe41559e9 (diff)
downloadsdl_core-hotfix/generate_snapshot_fix_#461.tar.gz
Rewrite GenerateSnapshot()hotfix/generate_snapshot_fix_#461
This pr is to fix issue #461. SDL core was crashing due to the snapshot returned from CacheManager::GenerateSnapshot() was being ruled as invalid. When generating a snapshot, instead of copying the entire contents of the policy table, I copy all contents except for the messages in consumer friendly messages. Policy table snapshot are not supposed to include the actual messages in consumer friendly messages, just the version number of the messages. I also added an extra condition in ConsumerFriendlyMessages::Validate() that looks to see if messages is initialized. A pt snapshot can have a consumer friendly messages portion, just not the messages included in consumer fiendly messages.
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions