Update uuid

This commit is contained in:
Bastien Orivel 2018-11-03 12:14:39 +01:00
parent 9a41af68a4
commit 36c4208f22
13 changed files with 57 additions and 58 deletions

View file

@ -412,7 +412,7 @@ impl BaseAudioContextMethods for BaseAudioContext {
if audio_data.len() > 0 {
// Step 2.
// XXX detach array buffer.
let uuid = Uuid::new_v4().simple().to_string();
let uuid = Uuid::new_v4().to_simple().to_string();
let uuid_ = uuid.clone();
self.decode_resolvers.borrow_mut().insert(
uuid.clone(),