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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user