1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 17:16:44 +00:00

Updates the multimachine for the ScanTarget world.

This commit is contained in:
Thomas Harte
2019-02-03 15:07:22 -05:00
parent 10c98f0a15
commit b75ad3def2
5 changed files with 24 additions and 5 deletions
+5
View File
@@ -209,6 +209,11 @@ void ScanTarget::end_data(size_t actual_length) {
data_type_size_);
}
void ScanTarget::will_change_owner() {
allocation_has_failed_ = true;
vended_scan_ = nullptr;
}
void ScanTarget::submit() {
if(allocation_has_failed_) {
// Reset all pointers to where they were; this also means